otmanheddouch commited on
Commit
bbcd3bc
·
verified ·
1 Parent(s): 5001ce2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,9 +25,9 @@ example_prompt = "a photo of an astronaut riding a horse on mars"
25
  # gradio interface
26
  interface = gr.Interface(
27
  fn=generate_image,
28
- inputs= [gr.Textbox(label="Prompt", default=example_prompt),
29
  gr.Dropdown(model_ids,label="Select the model ID"),
30
- gr.Slider(minimum=0.1,maximum=10, default=7.5, label="Guidance Scale")],
31
  outputs="image",
32
  live=False,
33
  title="Text to Image",
 
25
  # gradio interface
26
  interface = gr.Interface(
27
  fn=generate_image,
28
+ inputs= [gr.Textbox(label="Prompt", value=example_prompt),
29
  gr.Dropdown(model_ids,label="Select the model ID"),
30
+ gr.Slider(minimum=0.1,maximum=10, value=7.5, label="Guidance Scale")],
31
  outputs="image",
32
  live=False,
33
  title="Text to Image",