Spaces:
Paused
Paused
angry-meow
commited on
Commit
•
d3629e8
1
Parent(s):
8927fdb
url loading testing
Browse files
app.py
CHANGED
@@ -20,7 +20,9 @@ def rename(orig_author: str):
|
|
20 |
|
21 |
@cl.on_message
|
22 |
async def main(message: cl.Message):
|
23 |
-
cl.Message(
|
|
|
|
|
24 |
if message.content.startswith("http://") or message.content.startswith("https://"):
|
25 |
message_type = "url"
|
26 |
else:
|
|
|
20 |
|
21 |
@cl.on_message
|
22 |
async def main(message: cl.Message):
|
23 |
+
await cl.Message(
|
24 |
+
content=f"Received: {message.content}",
|
25 |
+
).send()
|
26 |
if message.content.startswith("http://") or message.content.startswith("https://"):
|
27 |
message_type = "url"
|
28 |
else:
|