Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ def process_audio(audio_file):
|
|
| 40 |
|
| 41 |
with gr.Blocks() as app:
|
| 42 |
gr.Markdown("## اپلیکیشن تبدیل صوت به متن و خلاصهسازی")
|
| 43 |
-
audio_input = gr.Audio(
|
| 44 |
text_output = gr.Textbox(label="متن تبدیلشده")
|
| 45 |
summary_output = gr.Textbox(label="خلاصه گزارش")
|
| 46 |
table_output = gr.DataFrame(label="جدول خلاصه")
|
|
|
|
| 40 |
|
| 41 |
with gr.Blocks() as app:
|
| 42 |
gr.Markdown("## اپلیکیشن تبدیل صوت به متن و خلاصهسازی")
|
| 43 |
+
audio_input = gr.Audio(type="filepath", label="فایل صوتی را آپلود کنید")
|
| 44 |
text_output = gr.Textbox(label="متن تبدیلشده")
|
| 45 |
summary_output = gr.Textbox(label="خلاصه گزارش")
|
| 46 |
table_output = gr.DataFrame(label="جدول خلاصه")
|