Spaces:
Runtime error
Runtime error
hassanelmghari
commited on
Update app.py
Browse files
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=
|
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(
|
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(
|