Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,10 +41,10 @@ with gr.Blocks() as demo:
|
|
| 41 |
gr.Markdown("🎙️ سجّل صوتك، عون يرد عليك فورًا بصوت ونص ❤️")
|
| 42 |
|
| 43 |
audio_input = gr.Audio(label="🎤 اضغط وسجّل صوتك")
|
| 44 |
-
submit_btn = gr.Button("🔁 أرسل ل
|
| 45 |
|
| 46 |
-
text_output = gr.Textbox(label="💬 رد
|
| 47 |
-
audio_output = gr.Audio(label="🔊 صوت
|
| 48 |
|
| 49 |
submit_btn.click(fn=assistant, inputs=audio_input, outputs=[text_output, audio_output])
|
| 50 |
|
|
|
|
| 41 |
gr.Markdown("🎙️ سجّل صوتك، عون يرد عليك فورًا بصوت ونص ❤️")
|
| 42 |
|
| 43 |
audio_input = gr.Audio(label="🎤 اضغط وسجّل صوتك")
|
| 44 |
+
submit_btn = gr.Button("🔁 أرسل لعون")
|
| 45 |
|
| 46 |
+
text_output = gr.Textbox(label="💬 رد عون")
|
| 47 |
+
audio_output = gr.Audio(label="🔊 صوت عون")
|
| 48 |
|
| 49 |
submit_btn.click(fn=assistant, inputs=audio_input, outputs=[text_output, audio_output])
|
| 50 |
|