danicafisher commited on
Commit
15b53b5
·
verified ·
1 Parent(s): 952909f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,14 +42,14 @@ async def on_chat_start():
42
  content="Pick an action!",
43
  actions=[
44
  cl.Action(name="Question", value="question", label="Ask a question"),
45
- cl.Action(name="File", value="file", label="Upload a file"),
46
  ],
47
  ).send()
48
 
49
  if res and res.get("value") == "file":
50
  files = None
51
  files = await cl.AskFileMessage(
52
- content="Please upload a Text or PDF File file to begin!",
53
  accept=["text/plain", "application/pdf"],
54
  max_size_mb=12,
55
  ).send()
 
42
  content="Pick an action!",
43
  actions=[
44
  cl.Action(name="Question", value="question", label="Ask a question"),
45
+ cl.Action(name="File", value="file", label="Upload a file or URL"),
46
  ],
47
  ).send()
48
 
49
  if res and res.get("value") == "file":
50
  files = None
51
  files = await cl.AskFileMessage(
52
+ content="Please upload a URL, Text, PDF file to begin!",
53
  accept=["text/plain", "application/pdf"],
54
  max_size_mb=12,
55
  ).send()