hassanelmghari commited on
Commit
82c99b8
·
verified ·
1 Parent(s): c73a06f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -145,7 +145,7 @@ with gr.Blocks() as demo:
145
  with gr.Row():
146
  max_new_tokens = gr.Slider(
147
  minimum=10,
148
- maximum=500,
149
  value=250,
150
  step=10,
151
  label="Maximum number of new tokens",
@@ -155,7 +155,7 @@ with gr.Blocks() as demo:
155
  )
156
 
157
  chatbot = gr.Chatbot()
158
- msg = gr.MultimodalTextbox(label="Enter text or upload an image")
159
  clear = gr.Button("Clear")
160
 
161
  msg.submit(
 
145
  with gr.Row():
146
  max_new_tokens = gr.Slider(
147
  minimum=10,
148
+ maximum=10000,
149
  value=250,
150
  step=10,
151
  label="Maximum number of new tokens",
 
155
  )
156
 
157
  chatbot = gr.Chatbot()
158
+ msg = gr.MultimodalTextbox()
159
  clear = gr.Button("Clear")
160
 
161
  msg.submit(