Spaces:
Running
Running
Yannic Kilcher
commited on
Commit
•
f7560c0
1
Parent(s):
f24a6b9
setting min and max for number
Browse files- interface.py +1 -1
interface.py
CHANGED
@@ -64,7 +64,7 @@ def greet(num_images, interpolate):
|
|
64 |
|
65 |
|
66 |
iface = gr.Interface(fn=greet, inputs=[
|
67 |
-
gr.inputs.Number(default=1, label="Num Images"),
|
68 |
gr.inputs.Checkbox(default=False, label="Interpolate")
|
69 |
], outputs="image")
|
70 |
iface.launch()
|
|
|
64 |
|
65 |
|
66 |
iface = gr.Interface(fn=greet, inputs=[
|
67 |
+
gr.inputs.Number(default=1, label="Num Images", min=1, max=16),
|
68 |
gr.inputs.Checkbox(default=False, label="Interpolate")
|
69 |
], outputs="image")
|
70 |
iface.launch()
|