Deniel Dimitrov
commited on
Commit
·
7c83e32
1
Parent(s):
a48e1fe
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def generate_seed(seed):
|
|
11 |
text_input = gr.inputs.Textbox(label="Input Text")
|
12 |
|
13 |
# Create a number input component
|
14 |
-
seed_input = gr.inputs.Number(label="Seed (Set to -1 for random seed)", default=-1,
|
15 |
|
16 |
# Create a button component
|
17 |
button = gr.inputs.Button(label="Process")
|
|
|
11 |
text_input = gr.inputs.Textbox(label="Input Text")
|
12 |
|
13 |
# Create a number input component
|
14 |
+
seed_input = gr.inputs.Number(label="Seed (Set to -1 for random seed)", default=-1, min_val=-1)
|
15 |
|
16 |
# Create a button component
|
17 |
button = gr.inputs.Button(label="Process")
|