Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def chat(text):
|
|
| 36 |
loop = asyncio.new_event_loop()
|
| 37 |
summary = loop.run_until_complete(summarize(text))
|
| 38 |
loop.close()
|
| 39 |
-
return
|
| 40 |
|
| 41 |
|
| 42 |
iface = gr.Interface(fn=chat, inputs="text", outputs="text")
|
|
|
|
| 36 |
loop = asyncio.new_event_loop()
|
| 37 |
summary = loop.run_until_complete(summarize(text))
|
| 38 |
loop.close()
|
| 39 |
+
return summary
|
| 40 |
|
| 41 |
|
| 42 |
iface = gr.Interface(fn=chat, inputs="text", outputs="text")
|