bharat-raghunathan commited on
Commit
d169595
1 Parent(s): 65995d6

Fix keyword bug

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -24,11 +24,11 @@ with gr.Blocks() as demo:
24
  gr.HTML("<p style=\"font-size: 14; font-weight: normal\" align=\"left\">This model has been fine-tuned to learn the concept of a dosa.<br>To use this demo, insert the string <q>bhr dosa</q> in your prompt</p>")
25
  with gr.Row():
26
  with gr.Column():
27
- prompt = gr.Textbox(lines=1, value="bhr dosa", label="Prompt")
28
- negative_prompt = gr.Textbox(lines=1, value="deformed", label="Negative Prompt")
29
- samples = gr.Slider(minimum=1, maximum=4, default=1, step=1, label="Number of Images")
30
  num_steps = gr.Slider(label="Inference Steps", value=50)
31
- guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=12, default=7.5, step=0.5, label="Guidance Scale")
32
  run = gr.Button(value="Run")
33
  with gr.Column():
34
  gallery = gr.Gallery(label="Outputs").style(grid=(2,2))
 
24
  gr.HTML("<p style=\"font-size: 14; font-weight: normal\" align=\"left\">This model has been fine-tuned to learn the concept of a dosa.<br>To use this demo, insert the string <q>bhr dosa</q> in your prompt</p>")
25
  with gr.Row():
26
  with gr.Column():
27
+ prompt = gr.Textbox(label="Prompt", lines=1, value="bhr dosa")
28
+ negative_prompt = gr.Textbox(label="Negative Prompt", lines=1, value="deformed")
29
+ samples = gr.Slider(label="Number of Images", minimum=1, maximum=4, default=1, step=1)
30
  num_steps = gr.Slider(label="Inference Steps", value=50)
31
+ guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=12, default=7.5, step=0.5)
32
  run = gr.Button(value="Run")
33
  with gr.Column():
34
  gallery = gr.Gallery(label="Outputs").style(grid=(2,2))