SunderAli17 commited on
Commit
5bc22d5
·
verified ·
1 Parent(s): b66e989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -96,8 +96,8 @@ with gr.Blocks(title="ToonMagev2", js = js_func, theme = theme) as SAK:
96
  gr.Markdown(_MARKDOWN_)
97
  with gr.Row():
98
  with gr.Column():
 
99
  with gr.Row():
100
- submit = gr.Button("Generate")
101
  face_image = gr.Image(label="ID image (main)", sources="upload", type="numpy", height=256)
102
  supp_image1 = gr.Image(
103
  label="Additional ID image (auxiliary)", sources="upload", type="numpy", height=256
@@ -170,6 +170,22 @@ with gr.Blocks(title="ToonMagev2", js = js_func, theme = theme) as SAK:
170
  ]
171
  ]
172
  gr.Examples(examples=example_inps, inputs=[prompt, face_image, mode], label='3d style')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
 
174
  example_inps = [
175
  [
 
96
  gr.Markdown(_MARKDOWN_)
97
  with gr.Row():
98
  with gr.Column():
99
+ submit = gr.Button("Generate")
100
  with gr.Row():
 
101
  face_image = gr.Image(label="ID image (main)", sources="upload", type="numpy", height=256)
102
  supp_image1 = gr.Image(
103
  label="Additional ID image (auxiliary)", sources="upload", type="numpy", height=256
 
170
  ]
171
  ]
172
  gr.Examples(examples=example_inps, inputs=[prompt, face_image, mode], label='3d style')
173
+ example_inps = [
174
+ [
175
+ 'portrait, pixar',
176
+ 'sample_img/sample_img_test1.jpg',
177
+ 'fidelity',
178
+ ]
179
+ ]
180
+ gr.Examples(examples=example_inps, inputs=[prompt, face_image, mode], label='portrait style')
181
+ example_inps = [
182
+ [
183
+ 'a high quality digital avatar, eating icecream',
184
+ 'sample_img/image1.png',
185
+ 'fidelity',
186
+ ]
187
+ ]
188
+ gr.Examples(examples=example_inps, inputs=[prompt, face_image, mode], label='portrait style')
189
 
190
  example_inps = [
191
  [