Spaces:
Runtime error
Runtime error
Jeongsoo1975
commited on
Commit
·
5798aca
1
Parent(s):
22c5981
fix: TypeError 근본 원인 해결 - show_progress 충돌
Browse files- app.py +2 -4
- requirements.txt +1 -1
app.py
CHANGED
@@ -363,16 +363,14 @@ def create_interface():
|
|
363 |
audio_process_btn.click(
|
364 |
fn=process_audio_file,
|
365 |
inputs=[audio_input],
|
366 |
-
outputs=outputs
|
367 |
-
show_progress=True
|
368 |
)
|
369 |
|
370 |
# 텍스트 처리 이벤트
|
371 |
text_process_btn.click(
|
372 |
fn=process_text_input,
|
373 |
inputs=[text_input],
|
374 |
-
outputs=outputs
|
375 |
-
show_progress=True
|
376 |
)
|
377 |
|
378 |
return interface
|
|
|
363 |
audio_process_btn.click(
|
364 |
fn=process_audio_file,
|
365 |
inputs=[audio_input],
|
366 |
+
outputs=outputs
|
|
|
367 |
)
|
368 |
|
369 |
# 텍스트 처리 이벤트
|
370 |
text_process_btn.click(
|
371 |
fn=process_text_input,
|
372 |
inputs=[text_input],
|
373 |
+
outputs=outputs
|
|
|
374 |
)
|
375 |
|
376 |
return interface
|
requirements.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
python-dotenv==1.0.0
|
2 |
google-generativeai==0.8.3
|
3 |
-
gradio
|
4 |
openai-whisper
|
5 |
torch
|
6 |
torchaudio
|
|
|
1 |
python-dotenv==1.0.0
|
2 |
google-generativeai==0.8.3
|
3 |
+
gradio>=4.44.1
|
4 |
openai-whisper
|
5 |
torch
|
6 |
torchaudio
|