Spaces:
Sleeping
Sleeping
fix Regular expression potision
Browse files
app.py
CHANGED
|
@@ -59,8 +59,8 @@ async def chat(input_text, input_url):
|
|
| 59 |
response = requests.post(endpoint, headers=headers, data=json_payload)
|
| 60 |
|
| 61 |
response_msgs = extract_texts(response.text)
|
| 62 |
-
|
| 63 |
-
return response_msgs
|
| 64 |
|
| 65 |
with gr.Blocks() as iface:
|
| 66 |
# UI
|
|
|
|
| 59 |
response = requests.post(endpoint, headers=headers, data=json_payload)
|
| 60 |
|
| 61 |
response_msgs = extract_texts(response.text)
|
| 62 |
+
|
| 63 |
+
return ''.join(response_msgs)
|
| 64 |
|
| 65 |
with gr.Blocks() as iface:
|
| 66 |
# UI
|