ritwikraha commited on
Commit
4d7cedd
1 Parent(s): 31772c8

chore: fixing gradio components

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", min_value=1, max_value=5, value=3)
48
- steps_slider = gr.Slider(label="Number of Inference Steps", min_value=20, max_value=100, value=50)
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