VanguardAI commited on
Commit
5c0af0e
1 Parent(s): 1bad456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -184,7 +184,7 @@ def handle_input(user_prompt, image=None, audio=None, websearch=False, document=
184
  print("5")
185
  return response, None
186
  else:
187
- return "Please upload an image.", None
188
 
189
  elif function == "document_qa":
190
  print("Executing Document Summarization")
@@ -193,7 +193,7 @@ def handle_input(user_prompt, image=None, audio=None, websearch=False, document=
193
  response = document_qa.run(user_prompt)
194
  return response, None
195
  else:
196
- return "Please upload a document.", None
197
 
198
  else: # function == "text_to_text"
199
  print("Executing Text-to-Text")
 
184
  print("5")
185
  return response, None
186
  else:
187
+ return "Please upload an imagee.", None
188
 
189
  elif function == "document_qa":
190
  print("Executing Document Summarization")
 
193
  response = document_qa.run(user_prompt)
194
  return response, None
195
  else:
196
+ return "Please upload a documentt.", None
197
 
198
  else: # function == "text_to_text"
199
  print("Executing Text-to-Text")