x0-0x commited on
Commit
9b359bb
·
verified ·
1 Parent(s): 6653089

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -52,21 +52,21 @@ def infer(
52
 
53
 
54
  examples = [
55
- "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
56
- "An astronaut riding a green horse",
57
- "A delicious ceviche cheesecake slice",
58
  ]
59
 
60
  css = """
61
  #col-container {
62
  margin: 0 auto;
63
- max-width: 640px;
64
  }
65
  """
66
 
67
  with gr.Blocks(css=css) as demo:
68
  with gr.Column(elem_id="col-container"):
69
- gr.Markdown(" # डेम0 - [क_क] -0मडे")
70
 
71
  with gr.Row():
72
  prompt = gr.Text(
@@ -93,7 +93,7 @@ with gr.Blocks(css=css) as demo:
93
  label="Seed",
94
  minimum=0,
95
  maximum=MAX_SEED,
96
- step=1,
97
  value=0,
98
  )
99
 
@@ -102,17 +102,17 @@ with gr.Blocks(css=css) as demo:
102
  with gr.Row():
103
  width = gr.Slider(
104
  label="Width",
105
- minimum=256,
106
  maximum=MAX_IMAGE_SIZE,
107
- step=3,
108
  value=480,
109
  )
110
 
111
  height = gr.Slider(
112
  label="Height",
113
- minimum=256,
114
  maximum=MAX_IMAGE_SIZE,
115
- step=3,
116
  value=480,
117
  )
118
 
@@ -120,16 +120,16 @@ with gr.Blocks(css=css) as demo:
120
  guidance_scale = gr.Slider(
121
  label="Guidance scale",
122
  minimum=0.0,
123
- maximum=3.0,
124
- step=0.3,
125
- value=0.1,
126
  )
127
 
128
  num_inference_steps = gr.Slider(
129
  label="Number of inference steps",
130
  minimum=1,
131
- maximum=6,
132
- step=1,
133
  value=2,
134
  )
135
 
@@ -151,4 +151,4 @@ with gr.Blocks(css=css) as demo:
151
  )
152
 
153
  if __name__ == "__main__":
154
- demo.launch()
 
52
 
53
 
54
  examples = [
55
+ "Astronaut in a jungle holding up his hand like soundcrash gun fingers. bright rave lasers in the background, detailed, 8k",
56
+ "jazz hands and gun fingers",
57
+ "Gun Fingers in the air at a jungle rave",
58
  ]
59
 
60
  css = """
61
  #col-container {
62
  margin: 0 auto;
63
+ max-width: 720px;
64
  }
65
  """
66
 
67
  with gr.Blocks(css=css) as demo:
68
  with gr.Column(elem_id="col-container"):
69
+ gr.Markdown(" #| -ߜ߭- ߙߛߕ- [क_क] -ߜ߭-")
70
 
71
  with gr.Row():
72
  prompt = gr.Text(
 
93
  label="Seed",
94
  minimum=0,
95
  maximum=MAX_SEED,
96
+ step=1.5,
97
  value=0,
98
  )
99
 
 
102
  with gr.Row():
103
  width = gr.Slider(
104
  label="Width",
105
+ minimum=480,
106
  maximum=MAX_IMAGE_SIZE,
107
+ step=1.5,
108
  value=480,
109
  )
110
 
111
  height = gr.Slider(
112
  label="Height",
113
+ minimum=480,
114
  maximum=MAX_IMAGE_SIZE,
115
+ step=1.5,
116
  value=480,
117
  )
118
 
 
120
  guidance_scale = gr.Slider(
121
  label="Guidance scale",
122
  minimum=0.0,
123
+ maximum=2.3,
124
+ step=0.6,
125
+ value=0.3,
126
  )
127
 
128
  num_inference_steps = gr.Slider(
129
  label="Number of inference steps",
130
  minimum=1,
131
+ maximum=1.5,
132
+ step=1.5,
133
  value=2,
134
  )
135
 
 
151
  )
152
 
153
  if __name__ == "__main__":
154
+ demo.launch()