Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,16 +84,17 @@ demo = gr.ChatInterface(
|
|
| 84 |
title="Meta Llama-3.2-11B-Vision-Instruct (FREE)",
|
| 85 |
textbox=gr.MultimodalTextbox(),
|
| 86 |
additional_inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
gr.Slider(
|
| 88 |
minimum=10,
|
| 89 |
maximum=500,
|
| 90 |
value=250,
|
| 91 |
step=10,
|
| 92 |
label="Maximum number of new tokens to generate",
|
| 93 |
-
),
|
| 94 |
-
gr.Textbox(
|
| 95 |
-
label="Together API Key (optional)",
|
| 96 |
-
placeholder="Enter your API key here. (optional)",
|
| 97 |
)
|
| 98 |
],
|
| 99 |
cache_examples=False,
|
|
|
|
| 84 |
title="Meta Llama-3.2-11B-Vision-Instruct (FREE)",
|
| 85 |
textbox=gr.MultimodalTextbox(),
|
| 86 |
additional_inputs=[
|
| 87 |
+
gr.Textbox(
|
| 88 |
+
label="Together API Key",
|
| 89 |
+
placeholder="Enter your API key here.",
|
| 90 |
+
required=True
|
| 91 |
+
),
|
| 92 |
gr.Slider(
|
| 93 |
minimum=10,
|
| 94 |
maximum=500,
|
| 95 |
value=250,
|
| 96 |
step=10,
|
| 97 |
label="Maximum number of new tokens to generate",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
)
|
| 99 |
],
|
| 100 |
cache_examples=False,
|