phenomenon1981 commited on
Commit
075f555
1 Parent(s): 9c1de78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
15
 
16
  def restart_script_periodically():
17
  while True:
18
- time.sleep(1020) # 10 minutes
19
  os.execl(sys.executable, sys.executable, *sys.argv)
20
 
21
  restart_thread = Thread(target=restart_script_periodically, daemon=True)
@@ -113,7 +113,7 @@ with gr.Blocks() as myface:
113
  with gr.Row():
114
 
115
  prompt=gr.Textbox(label="Enter Prompt")
116
- noise_level=gr.Slider(minimum=0.1, maximum=3, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
117
  run=gr.Button("Generate")
118
 
119
  with gr.Row():
 
15
 
16
  def restart_script_periodically():
17
  while True:
18
+ time.sleep(600) # 10 minutes
19
  os.execl(sys.executable, sys.executable, *sys.argv)
20
 
21
  restart_thread = Thread(target=restart_script_periodically, daemon=True)
 
113
  with gr.Row():
114
 
115
  prompt=gr.Textbox(label="Enter Prompt")
116
+ noise_level=gr.Slider(minimum=0.0, maximum=3, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
117
  run=gr.Button("Generate")
118
 
119
  with gr.Row():