Spaces:
Sleeping
Sleeping
artificialguybr
commited on
Commit
•
41d30e3
1
Parent(s):
e0559c2
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ creativity_input = gr.Slider(minimum=0, maximum=9, step=1, value=6, label="Creat
|
|
95 |
helpfulness_input = gr.Slider(minimum=0, maximum=9, step=1, value=6, label="Helpfulness")
|
96 |
temperature_input = gr.Slider(minimum=0, maximum=1, step=0.01, value=0.2, label="Temperature")
|
97 |
top_p_input = gr.Slider(minimum=0, maximum=1, step=0.01, value=0.7, label="Top P")
|
98 |
-
max_tokens_input = gr.Slider(minimum=1, maximum=
|
99 |
|
100 |
iface = gr.Interface(fn=call_neva_22b_api,
|
101 |
inputs=[image_input, content_input, temperature_input, top_p_input, max_tokens_input, quality_input, humor_input, creativity_input, helpfulness_input],
|
|
|
95 |
helpfulness_input = gr.Slider(minimum=0, maximum=9, step=1, value=6, label="Helpfulness")
|
96 |
temperature_input = gr.Slider(minimum=0, maximum=1, step=0.01, value=0.2, label="Temperature")
|
97 |
top_p_input = gr.Slider(minimum=0, maximum=1, step=0.01, value=0.7, label="Top P")
|
98 |
+
max_tokens_input = gr.Slider(minimum=1, maximum=512, step=1, value=512, label="Max Tokens")
|
99 |
|
100 |
iface = gr.Interface(fn=call_neva_22b_api,
|
101 |
inputs=[image_input, content_input, temperature_input, top_p_input, max_tokens_input, quality_input, humor_input, creativity_input, helpfulness_input],
|