Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def process_audio_and_respond(audio):
|
|
42 |
demo = gr.Interface(
|
43 |
process_audio_and_respond,
|
44 |
gr.inputs.Audio(source="microphone", type="filepath", label="Bonyeza kitufe cha kurekodi na uliza swali lako"),
|
45 |
-
[gr.outputs.Textbox(label="Jibu (kwa njia ya maandishi)"), gr.outputs.Audio(type="
|
46 |
title="Mtaalamu wa Viazi Lishe",
|
47 |
description="Uliza Mtaalamu wetu swali lolote Kuhusu viazi Lishe",
|
48 |
theme="compact",
|
|
|
42 |
demo = gr.Interface(
|
43 |
process_audio_and_respond,
|
44 |
gr.inputs.Audio(source="microphone", type="filepath", label="Bonyeza kitufe cha kurekodi na uliza swali lako"),
|
45 |
+
[gr.outputs.Textbox(label="Jibu (kwa njia ya maandishi)"), gr.outputs.Audio(type="filepath", label="Jibu kwa njia ya sauti (Bofya kusikiliza Jibu)")],
|
46 |
title="Mtaalamu wa Viazi Lishe",
|
47 |
description="Uliza Mtaalamu wetu swali lolote Kuhusu viazi Lishe",
|
48 |
theme="compact",
|