phenomenon1981 commited on
Commit
c79a309
1 Parent(s): 0e527c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ proc5=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
15
 
16
  import random
17
 
18
- def add_random_noise(prompt, noise_level=0.05):
19
  # Get the percentage of characters to add as noise
20
  percentage_noise = noise_level * 5
21
  # Get the number of characters to add as noise
@@ -157,7 +157,7 @@ with gr.Blocks() as myface:
157
  with gr.Row():
158
 
159
  prompt=gr.Textbox(label="Enter Prompt")
160
- noise_level=gr.Slider(minimum=0.1, maximum=1, 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.")
161
  run=gr.Button("Generate")
162
 
163
  with gr.Row():
 
15
 
16
  import random
17
 
18
+ def add_random_noise(prompt, noise_level=0.07):
19
  # Get the percentage of characters to add as noise
20
  percentage_noise = noise_level * 5
21
  # Get the number of characters to add as noise
 
157
  with gr.Row():
158
 
159
  prompt=gr.Textbox(label="Enter Prompt")
160
+ 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.")
161
  run=gr.Button("Generate")
162
 
163
  with gr.Row():