eshaan commited on
Commit
9f25063
·
1 Parent(s): e21bbf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -50,15 +50,15 @@ async def fake_gan_async(text_input):
50
  await asyncio.gather(
51
  get_image_from_url(sdxl_api_url, payload_sdxl, sdxl_filepath),
52
  get_image_from_url(lora_api_url, payload_lora, lora_filepath),
53
- # get_image_from_url(finetuned_ci_url, payload_finetuned_ci, finetuned_ci_filepath)
54
  )
55
 
56
  return [
57
  sd_image_url,
58
  sdxl_filepath,
59
  lora_filepath,
60
- "https://images.unsplash.com/photo-1546456073-92b9f0a8d413?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80",
61
- "https://images.unsplash.com/photo-1546456073-92b9f0a8d413?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80",
62
  ]
63
 
64
  # Running the async function:
@@ -83,8 +83,8 @@ demo = gr.Interface(
83
  outputs=[gr.outputs.Image(type="pil", label="Stable Diffusion 2-1"),
84
  gr.outputs.Image(type="pil", label="Stable Diffusion XL"),
85
  gr.outputs.Image(type="pil", label="SD XL, Grogu LoRA on 20 hand written labels"),
86
- gr.outputs.Image(type="pil", label='SD XL, finetuned on 2,000 "shitty" CI labels'),
87
- gr.outputs.Image(type="pil", label='SD XL, finetuned on 2,000 "shitty" BLIP labels'),
88
  ],
89
  title=title,
90
  description=description,)
 
50
  await asyncio.gather(
51
  get_image_from_url(sdxl_api_url, payload_sdxl, sdxl_filepath),
52
  get_image_from_url(lora_api_url, payload_lora, lora_filepath),
53
+ get_image_from_url(finetuned_ci_url, payload_finetuned_ci, finetuned_ci_filepath)
54
  )
55
 
56
  return [
57
  sd_image_url,
58
  sdxl_filepath,
59
  lora_filepath,
60
+ # "https://images.unsplash.com/photo-1546456073-92b9f0a8d413?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80",
61
+ # "https://images.unsplash.com/photo-1546456073-92b9f0a8d413?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80",
62
  ]
63
 
64
  # Running the async function:
 
83
  outputs=[gr.outputs.Image(type="pil", label="Stable Diffusion 2-1"),
84
  gr.outputs.Image(type="pil", label="Stable Diffusion XL"),
85
  gr.outputs.Image(type="pil", label="SD XL, Grogu LoRA on 20 hand written labels"),
86
+ # gr.outputs.Image(type="pil", label='SD XL, finetuned on 2,000 "shitty" CI labels'),
87
+ # gr.outputs.Image(type="pil", label='SD XL, finetuned on 2,000 "shitty" BLIP labels'),
88
  ],
89
  title=title,
90
  description=description,)