not-lain commited on
Commit
d2a1bab
1 Parent(s): 2506674

added audio parameter in main function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -236,7 +236,7 @@ def convert_to_markdown(vectara_response_json):
236
  else:
237
  return "No data found in the response."
238
  # Main function to handle the Gradio interface logic
239
- def process_and_query(text, image):
240
  try:
241
  # If an image is provided, process it with OpenAI and use the response as the text query for Vectara
242
  if image is not None:
 
236
  else:
237
  return "No data found in the response."
238
  # Main function to handle the Gradio interface logic
239
+ def process_and_query(text, image,audio):
240
  try:
241
  # If an image is provided, process it with OpenAI and use the response as the text query for Vectara
242
  if image is not None: