mgyigit commited on
Commit
9651f63
1 Parent(s): ce56756

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +3 -1
gradio_app.py CHANGED
@@ -125,11 +125,13 @@ with gr.Blocks() as demo:
125
  value=1000,
126
  maximum=10_000,
127
  )
 
 
128
  seed_num = gr.Number(
129
  label="RNG seed value (can be used for reproducibility):",
130
  precision=0, # integer input
131
  minimum=0,
132
- value=42,
133
  )
134
 
135
  submit_button = gr.Button(
 
125
  value=1000,
126
  maximum=10_000,
127
  )
128
+
129
+ val = random.randint(0, 10000)
130
  seed_num = gr.Number(
131
  label="RNG seed value (can be used for reproducibility):",
132
  precision=0, # integer input
133
  minimum=0,
134
+ value=val,
135
  )
136
 
137
  submit_button = gr.Button(