x0-0x commited on
Commit
d4998e9
·
verified ·
1 Parent(s): 7facfa8

Update app.py

Browse files

![Xed-0 (4).png](https://cdn-uploads.huggingface.co/production/uploads/6764e30f47578a05bd320f28/Xx2aSY53ivg4BS86_I-Mv.png)

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(css=css) as demo:
105
  minimum=256,
106
  maximum=MAX_IMAGE_SIZE,
107
  step=32,
108
- value=720, # Replace with defaults that work for your model
109
  )
110
 
111
  height = gr.Slider(
@@ -113,7 +113,7 @@ with gr.Blocks(css=css) as demo:
113
  minimum=256,
114
  maximum=MAX_IMAGE_SIZE,
115
  step=32,
116
- value=720, # Replace with defaults that work for your model
117
  )
118
 
119
  with gr.Row():
@@ -122,7 +122,7 @@ with gr.Blocks(css=css) as demo:
122
  minimum=0.0,
123
  maximum=10.0,
124
  step=0.1,
125
- value=0.0, # Replace with defaults that work for your model
126
  )
127
 
128
  num_inference_steps = gr.Slider(
@@ -130,7 +130,7 @@ with gr.Blocks(css=css) as demo:
130
  minimum=1,
131
  maximum=50,
132
  step=1,
133
- value=2, # Replace with defaults that work for your model
134
  )
135
 
136
  gr.Examples(examples=examples, inputs=[prompt])
 
105
  minimum=256,
106
  maximum=MAX_IMAGE_SIZE,
107
  step=32,
108
+ value=720,
109
  )
110
 
111
  height = gr.Slider(
 
113
  minimum=256,
114
  maximum=MAX_IMAGE_SIZE,
115
  step=32,
116
+ value=720,
117
  )
118
 
119
  with gr.Row():
 
122
  minimum=0.0,
123
  maximum=10.0,
124
  step=0.1,
125
+ value=0.1,
126
  )
127
 
128
  num_inference_steps = gr.Slider(
 
130
  minimum=1,
131
  maximum=50,
132
  step=1,
133
+ value=2,
134
  )
135
 
136
  gr.Examples(examples=examples, inputs=[prompt])