Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,6 @@ system_prompt="""You have to act as a professional doctor, i know you are not bu
|
|
20 |
|
21 |
def process_input(audio_file_path,image_file_path):
|
22 |
|
23 |
-
if not audio_file_path:
|
24 |
-
return "No audio input", "Please provide audio input", None
|
25 |
-
|
26 |
speech_to_text_output = transcribe_with_groq(stt_model=stt_model,
|
27 |
audio_file_path=audio_file_path,
|
28 |
GROQ_API_KEY=GROQ_API_KEY)
|
|
|
20 |
|
21 |
def process_input(audio_file_path,image_file_path):
|
22 |
|
|
|
|
|
|
|
23 |
speech_to_text_output = transcribe_with_groq(stt_model=stt_model,
|
24 |
audio_file_path=audio_file_path,
|
25 |
GROQ_API_KEY=GROQ_API_KEY)
|