Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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 = ""
|