Spaces:
Paused
Paused
Commit
·
a00c36c
1
Parent(s):
962e642
minor ui text edits
Browse files
app.py
CHANGED
|
@@ -69,9 +69,9 @@ async def ask_action():
|
|
| 69 |
res = await cl.AskActionMessage(
|
| 70 |
content="Pick an action!",
|
| 71 |
actions=[
|
| 72 |
-
cl.Action(name="Question", value="question", label="
|
| 73 |
-
cl.Action(name="File", value="file", label="
|
| 74 |
-
cl.Action(name="Url", value="url", label="
|
| 75 |
],
|
| 76 |
).send()
|
| 77 |
return res
|
|
@@ -114,4 +114,4 @@ async def handle_response(res):
|
|
| 114 |
await cl.Message(content="Submit a url link in the message box below.").send()
|
| 115 |
|
| 116 |
if res and res.get("value") == "question":
|
| 117 |
-
await cl.Message(content="
|
|
|
|
| 69 |
res = await cl.AskActionMessage(
|
| 70 |
content="Pick an action!",
|
| 71 |
actions=[
|
| 72 |
+
cl.Action(name="Question", value="question", label="Create a post"),
|
| 73 |
+
cl.Action(name="File", value="file", label="Import a file"),
|
| 74 |
+
cl.Action(name="Url", value="url", label="Import a Webpage"),
|
| 75 |
],
|
| 76 |
).send()
|
| 77 |
return res
|
|
|
|
| 114 |
await cl.Message(content="Submit a url link in the message box below.").send()
|
| 115 |
|
| 116 |
if res and res.get("value") == "question":
|
| 117 |
+
await cl.Message(content="Give us your idea!").send()
|