Spaces:
Runtime error
Runtime error
Commit
·
3e69176
1
Parent(s):
34cae94
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ gr.Interface(
|
|
97 |
inference,
|
98 |
[
|
99 |
gr.inputs.Textbox(label="Input"),
|
100 |
-
gr.inputs.
|
101 |
gr.inputs.Radio(["Sample", "Greedy"], label="Sample or greedy", default="Sample"),
|
102 |
gr.Checkbox(label="Just output raw text"),
|
103 |
gr.inputs.Radio(["Sample 1", "Sample 2", "Sample 3", "Sample 4", "Sample 5"], default="Sample 1", label="Sample other generations (only work in 'Sample' mode", type="index"),
|
|
|
97 |
inference,
|
98 |
[
|
99 |
gr.inputs.Textbox(label="Input"),
|
100 |
+
gr.inputs.Radio([32, 64], default=32, label="Tokens to generate"),
|
101 |
gr.inputs.Radio(["Sample", "Greedy"], label="Sample or greedy", default="Sample"),
|
102 |
gr.Checkbox(label="Just output raw text"),
|
103 |
gr.inputs.Radio(["Sample 1", "Sample 2", "Sample 3", "Sample 4", "Sample 5"], default="Sample 1", label="Sample other generations (only work in 'Sample' mode", type="index"),
|