PushkarA07 commited on
Commit
159466a
1 Parent(s): f3c7878

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -133,10 +133,10 @@ random_seed = random.randint(0, 2147483647)
133
  gr.Interface(
134
  predict,
135
  inputs=[
136
- gr.inputs.Textbox(label='Text', default='a chalk pastel drawing of a llama wearing a wizard hat'),
137
- gr.inputs.Slider(1, 100, label='Inference Steps', default=50, step=1),
138
- gr.inputs.Slider(0, 2147483647, label='Seed', default=random_seed, step=1),
139
- gr.inputs.Slider(1.0, 20.0, label='Guidance Scale - how much the prompt will influence the results', default=6.0, step=0.1),
140
  ],
141
  outputs=gr.Image(shape=[256,256], type="pil", elem_id="output_image"),
142
  css="#output_image{width: 256px}",
 
133
  gr.Interface(
134
  predict,
135
  inputs=[
136
+ gr.Textbox(label='Text', value='a chalk pastel drawing of a llama wearing a wizard hat'),
137
+ gr.Slider(1, 100, label='Inference Steps', value=50, step=1),
138
+ gr.Slider(0, 2147483647, label='Seed', value=random_seed, step=1),
139
+ gr.Slider(1.0, 20.0, label='Guidance Scale - how much the prompt will influence the results', value=6.0, step=0.1),
140
  ],
141
  outputs=gr.Image(shape=[256,256], type="pil", elem_id="output_image"),
142
  css="#output_image{width: 256px}",