Tonic commited on
Commit
8de78b2
1 Parent(s): 0497013

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -396,11 +396,7 @@ def process_summary_with_stablemed(summary):
396
 
397
  # Main function to handle the Gradio interface logic
398
 
399
- def process_and_query(state, input_language=None, audio_input=None, image_input=None, text_input=None):
400
- components['speech_to_text'].hide()
401
- components['image_identification'].hide()
402
- components['text_summarization'].hide()
403
- components['results'].show()
404
  try:
405
  # Initialize the conditional variables
406
  combined_text = ""
 
396
 
397
  # Main function to handle the Gradio interface logic
398
 
399
+ def process_and_query(input_language=None, audio_input=None, image_input=None, text_input=None):
 
 
 
 
400
  try:
401
  # Initialize the conditional variables
402
  combined_text = ""