Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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]":
|