angry-meow commited on
Commit
a00c36c
1 Parent(s): 962e642

minor ui text edits

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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="Ask a question"),
73
- cl.Action(name="File", value="file", label="Upload a file"),
74
- cl.Action(name="Url", value="url", label="Upload a URL"),
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="Ask away!").send()
 
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()