ritwikraha commited on
Commit
112da9b
1 Parent(s): 1bb8a30

fix: some styling issues

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -45,15 +45,16 @@ This demo utilizes the SDXL model LoRA adaption weights for stabilityai/stable-d
45
  """
46
  # Setup Gradio interface
47
  with gr.Blocks() as demo:
48
- gr.HTML("<h1><center>Text-to-Image with SDXL-Lightning ⚡</center></h1>")
49
  gr.Markdown(description)
50
  with gr.Group():
51
- with gr.Column():
52
- 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", scale=8)
53
- negative_prompt_input = gr.Textbox(label="Enter negative prompt", value="ugly face, multiple bodies, bad anatomy, disfigured, extra fingers", lines=2)
54
- guidance_scale_slider = gr.Slider(label="Guidance Scale", minimum=1, maximum=5, value=3)
55
- steps_slider = gr.Slider(label="Number of Inference Steps", minimum=20, maximum=100, value=50)
56
- submit_button = gr.Button("Submit")
 
57
  output_image = gr.Image(label="Generated Sketch")
58
 
59
  submit_button.click(
 
45
  """
46
  # Setup Gradio interface
47
  with gr.Blocks() as demo:
48
+ gr.HTML("<h1><center>Khabib Sketch Maker 🥋</center></h1>")
49
  gr.Markdown(description)
50
  with gr.Group():
51
+ with gr.Row():
52
+ with gr.Column():
53
+ prompt_input = gr.Textbox(label="Enter your image prompt", value="a sketch of TOK khabib dancing, monchrome, pen sketch", scale=8)
54
+ negative_prompt_input = gr.Textbox(label="Enter negative prompt", value="ugly face, multiple bodies, bad anatomy, disfigured, extra fingers", lines=2)
55
+ guidance_scale_slider = gr.Slider(label="Guidance Scale", minimum=1, maximum=5, value=3)
56
+ steps_slider = gr.Slider(label="Number of Inference Steps", minimum=20, maximum=100, value=50)
57
+ submit_button = gr.Button("Submit")
58
  output_image = gr.Image(label="Generated Sketch")
59
 
60
  submit_button.click(