Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -322,7 +322,9 @@ async def process_input(input_text: str, input_file, language: str, speaker1: st
|
|
322 |
raise Exception(f"Error: {error_msg}")
|
323 |
|
324 |
# Gradio UI
|
325 |
-
def generate_podcast_gradio(input_text, input_file, language, speaker1, speaker2
|
|
|
|
|
326 |
# Handle the file if uploaded
|
327 |
file_obj = None
|
328 |
if input_file is not None:
|
|
|
322 |
raise Exception(f"Error: {error_msg}")
|
323 |
|
324 |
# Gradio UI
|
325 |
+
def generate_podcast_gradio(input_text, input_file, language, speaker1, speaker2):
|
326 |
+
progress = gr.Progress()
|
327 |
+
|
328 |
# Handle the file if uploaded
|
329 |
file_obj = None
|
330 |
if input_file is not None:
|