Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,8 @@ demo = gr.Interface(
|
|
45 |
fn=super_prompt,
|
46 |
inputs=[
|
47 |
gr.Textbox(label="input text"),
|
48 |
-
gr.Slider(label="seed",
|
49 |
-
gr.Slider(label="max_new_tokens",
|
50 |
gr.Textbox(label="custom prompt", placeholder="leave empty to use default")],
|
51 |
outputs=[gr.Textbox(label="output", lines=6)],
|
52 |
)
|
|
|
45 |
fn=super_prompt,
|
46 |
inputs=[
|
47 |
gr.Textbox(label="input text"),
|
48 |
+
gr.Slider(label="seed", minimum=0, maximum=2**32, step=1),
|
49 |
+
gr.Slider(label="max_new_tokens", minimum=0, maximum=375, step=1),
|
50 |
gr.Textbox(label="custom prompt", placeholder="leave empty to use default")],
|
51 |
outputs=[gr.Textbox(label="output", lines=6)],
|
52 |
)
|