Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -179,7 +179,7 @@ llm_choices = ["Llama-3-70B-Instruct", "Llama-3-8B-Instruct", "Mistral-7B-Instru
|
|
| 179 |
iface = gr.Interface(
|
| 180 |
fn=transcribe_and_summarize,
|
| 181 |
inputs=[
|
| 182 |
-
gr.Audio(sources=["upload"], type="filepath"),
|
| 183 |
gr.Dropdown(choices=[lang for lang in language_choices], label="Choisissez la langue"),
|
| 184 |
gr.Dropdown(choices=[llm for llm in llm_choices], label="Choisissez le LLM")
|
| 185 |
],
|
|
|
|
| 179 |
iface = gr.Interface(
|
| 180 |
fn=transcribe_and_summarize,
|
| 181 |
inputs=[
|
| 182 |
+
gr.Audio(sources=["upload", "microphone"], type="filepath"),
|
| 183 |
gr.Dropdown(choices=[lang for lang in language_choices], label="Choisissez la langue"),
|
| 184 |
gr.Dropdown(choices=[llm for llm in llm_choices], label="Choisissez le LLM")
|
| 185 |
],
|