Spaces:
Runtime error
Runtime error
ritwikraha
commited on
Commit
•
4d7cedd
1
Parent(s):
31772c8
chore: fixing gradio components
Browse files
app.py
CHANGED
@@ -44,8 +44,8 @@ with gr.Blocks() as demo:
|
|
44 |
with gr.Column():
|
45 |
prompt_input = gr.Textbox(label="Enter your image prompt", value="a sketch of TOK khabib pointing at another khabib like the spiderman meme, monchrome, pen sketch")
|
46 |
negative_prompt_input = gr.Textbox(label="Enter negative prompt", value="ugly face, multiple bodies, bad anatomy, disfigured, extra fingers", lines=2)
|
47 |
-
guidance_scale_slider = gr.Slider(label="Guidance Scale",
|
48 |
-
steps_slider = gr.Slider(label="Number of Inference Steps",
|
49 |
submit_button = gr.Button("Generate Sketch")
|
50 |
output_image = gr.Image(label="Generated Sketch")
|
51 |
|
|
|
44 |
with gr.Column():
|
45 |
prompt_input = gr.Textbox(label="Enter your image prompt", value="a sketch of TOK khabib pointing at another khabib like the spiderman meme, monchrome, pen sketch")
|
46 |
negative_prompt_input = gr.Textbox(label="Enter negative prompt", value="ugly face, multiple bodies, bad anatomy, disfigured, extra fingers", lines=2)
|
47 |
+
guidance_scale_slider = gr.Slider(label="Guidance Scale", minimum=1, maximum=5, value=3)
|
48 |
+
steps_slider = gr.Slider(label="Number of Inference Steps", minimum=20, maximum=100, value=50)
|
49 |
submit_button = gr.Button("Generate Sketch")
|
50 |
output_image = gr.Image(label="Generated Sketch")
|
51 |
|