YC-Chen commited on
Commit
b3bd792
1 Parent(s): a39bb29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -131,7 +131,6 @@ with gr.Blocks() as demo:
131
 
132
  with requests.post(API_URL, headers=HEADERS, data=json.dumps(data), stream=True) as r:
133
  for response in r.iter_lines():
134
- print(response)
135
  if len(response) > 0:
136
  text = response.decode()
137
  if text != "data: [DONE]":
 
131
 
132
  with requests.post(API_URL, headers=HEADERS, data=json.dumps(data), stream=True) as r:
133
  for response in r.iter_lines():
 
134
  if len(response) > 0:
135
  text = response.decode()
136
  if text != "data: [DONE]":