SunderAli17 commited on
Commit
bb56969
1 Parent(s): 961db6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -182,7 +182,7 @@ function refresh() {
182
 
183
  def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_available() else "cpu",
184
  offload: bool = False):
185
- with gr.Blocks() as demo:
186
  gr.Markdown(MARKDOWN)
187
 
188
  with gr.Row():
@@ -219,7 +219,7 @@ def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_ava
219
  gr.Markdown("## Examples")
220
  example_inps = [
221
  [
222
- 'a woman holding sign with glowing green text \"PuLID for FLUX\"',
223
  'sample_img/image1.png',
224
  4, 4, 2680261499100305976, 1
225
  ],
@@ -229,7 +229,7 @@ def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_ava
229
  4, 4, 1205240166692517553, 1
230
  ],
231
  [
232
- 'white-haired woman with vr technology atmosphere, revolutionary exceptional magnum with remarkable details', # noqa E501
233
  'sample_img/image1.png',
234
  4, 4, 6349424134217931066, 1
235
  ],
@@ -239,7 +239,7 @@ def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_ava
239
  4, 4, 10606046113565776207, 1
240
  ],
241
  [
242
- 'a man is holding a sign with text \"PuLID for FLUX\", winter, snowing, top of the mountain',
243
  'sample_img/test1.jpg',
244
  4, 4, 2410129802683836089, 1
245
  ],
@@ -254,7 +254,7 @@ def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_ava
254
  4, 4, 17733156847328193625, 1
255
  ],
256
  [
257
- 'American Comics, 1boy',
258
  'sample_img/test1.jpg',
259
  1, 4, 13223174453874179686, 1
260
  ],
 
182
 
183
  def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_available() else "cpu",
184
  offload: bool = False):
185
+ with gr.Blocks(js = js_func, theme = theme) as demo:
186
  gr.Markdown(MARKDOWN)
187
 
188
  with gr.Row():
 
219
  gr.Markdown("## Examples")
220
  example_inps = [
221
  [
222
+ 'a high quality digital avatar, eating icecream',
223
  'sample_img/image1.png',
224
  4, 4, 2680261499100305976, 1
225
  ],
 
229
  4, 4, 1205240166692517553, 1
230
  ],
231
  [
232
+ 'white-haired man with vr technology',
233
  'sample_img/image1.png',
234
  4, 4, 6349424134217931066, 1
235
  ],
 
239
  4, 4, 10606046113565776207, 1
240
  ],
241
  [
242
+ 'a man is holding Pakistani flag on top of a mountain',
243
  'sample_img/test1.jpg',
244
  4, 4, 2410129802683836089, 1
245
  ],
 
254
  4, 4, 17733156847328193625, 1
255
  ],
256
  [
257
+ 'DC comics, Flash',
258
  'sample_img/test1.jpg',
259
  1, 4, 13223174453874179686, 1
260
  ],