Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
@@ -57,10 +57,12 @@ async def main(message: cl.Message):
|
|
57 |
)
|
58 |
response = pipeline.run_pipeline(message.content)
|
59 |
|
60 |
-
msg = cl.Message(content=
|
61 |
|
62 |
# Update the prompt object with the completion
|
63 |
-
msg.prompt = response
|
|
|
|
|
64 |
|
65 |
# Send and close the message stream
|
66 |
await msg.send()
|
|
|
57 |
)
|
58 |
response = pipeline.run_pipeline(message.content)
|
59 |
|
60 |
+
msg = cl.Message(content=response)
|
61 |
|
62 |
# Update the prompt object with the completion
|
63 |
+
# msg.prompt = response
|
64 |
+
# msg.stream_token(response)
|
65 |
+
# msg.content = response
|
66 |
|
67 |
# Send and close the message stream
|
68 |
await msg.send()
|