Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -171,6 +171,15 @@ with gr.Blocks(title="Voxtral") as voxtral:
|
|
| 171 |
with gr.Accordion("🤖 Ask audio file", open=True):
|
| 172 |
question_chat = gr.Textbox(label="Enter your question about audio file:", placeholder="Enter your question about audio file")
|
| 173 |
submit_chat = gr.Button("Ask audio file:", variant="primary")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
text_chat = gr.Textbox(label="💬 Model answer", lines=10)
|
| 175 |
|
| 176 |
### Processing
|
|
|
|
| 171 |
with gr.Accordion("🤖 Ask audio file", open=True):
|
| 172 |
question_chat = gr.Textbox(label="Enter your question about audio file:", placeholder="Enter your question about audio file")
|
| 173 |
submit_chat = gr.Button("Ask audio file:", variant="primary")
|
| 174 |
+
example_chat = [["What is the subject of this audio file?"], ["Quels sont les ingrédients ?"]]
|
| 175 |
+
gr.Examples(
|
| 176 |
+
examples=example_chat,
|
| 177 |
+
inputs=question_chat,
|
| 178 |
+
outputs=None,
|
| 179 |
+
fn=None,
|
| 180 |
+
cache_examples=False,
|
| 181 |
+
run_on_click=False
|
| 182 |
+
)
|
| 183 |
text_chat = gr.Textbox(label="💬 Model answer", lines=10)
|
| 184 |
|
| 185 |
### Processing
|