hassanelmghari commited on
Commit
dbab4b0
1 Parent(s): c671a2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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,