gokaygokay
commited on
Commit
•
7b4a7b9
1
Parent(s):
e8eee85
Update app.py
Browse files
app.py
CHANGED
@@ -124,8 +124,8 @@ with gr.Blocks(theme='bethecloud/storj_theme') as demo:
|
|
124 |
num_inference_steps = gr.Slider(1, 100, 28, step=1, label="Number of Inference Steps", visible=False)
|
125 |
guidance_scale = gr.Slider(0, 20, 3.5, step=0.1, label="Guidance Scale", visible=False)
|
126 |
num_images = gr.Slider(1, 10, 1, step=1, label="Number of Images")
|
127 |
-
safety_tolerance = gr.Dropdown(choices=["1", "2", "3", "4", "5", "6"], label="Safety Tolerance", value="
|
128 |
-
enable_safety_checker = gr.Checkbox(label="Enable Safety Checker", value=
|
129 |
seed = gr.Number(label="Seed", value=-1)
|
130 |
|
131 |
generate_btn = gr.Button("Generate Image")
|
|
|
124 |
num_inference_steps = gr.Slider(1, 100, 28, step=1, label="Number of Inference Steps", visible=False)
|
125 |
guidance_scale = gr.Slider(0, 20, 3.5, step=0.1, label="Guidance Scale", visible=False)
|
126 |
num_images = gr.Slider(1, 10, 1, step=1, label="Number of Images")
|
127 |
+
safety_tolerance = gr.Dropdown(choices=["1", "2", "3", "4", "5", "6"], label="Safety Tolerance", value="5")
|
128 |
+
enable_safety_checker = gr.Checkbox(label="Enable Safety Checker", value=False)
|
129 |
seed = gr.Number(label="Seed", value=-1)
|
130 |
|
131 |
generate_btn = gr.Button("Generate Image")
|