AYYasaswini commited on
Commit
fd35f55
·
verified ·
1 Parent(s): e6ff124

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -263,7 +263,7 @@ def generate_loss_based_image(text_embeddings, seed, max_length):
263
 
264
 
265
  def generate_image_from_prompt(text_in, style_in):
266
- STYLE_LIST = ['oil_style.bin', 'valorant_style.bin', 'cartoon_syle.bin', 'space_style.bin', 'terraria_syle.bin']
267
  STYLE_SEEDS = [128, 64, 128, 64, 128]
268
 
269
  print(text_in)
@@ -299,8 +299,8 @@ demo = gr.Interface(generate_image_from_prompt,
299
  inputs=[
300
  gr.Textbox('man in style of puppy', label=prompt_label),
301
  gr.Dropdown(
302
- ['oil', 'valorant', 'cartoon', 'space', 'terraria'],
303
- value="valorant",
304
  label=styles_label
305
  ),
306
  ],
 
263
 
264
 
265
  def generate_image_from_prompt(text_in, style_in):
266
+ STYLE_LIST = ['learned_embeds_gartic-phone.bin', 'valorant_style.bin', 'cartoon_syle.bin', 'space_style.bin', 'terraria_syle.bin']
267
  STYLE_SEEDS = [128, 64, 128, 64, 128]
268
 
269
  print(text_in)
 
299
  inputs=[
300
  gr.Textbox('man in style of puppy', label=prompt_label),
301
  gr.Dropdown(
302
+ ['learned_embeds_gartic-phone', 'valorant', 'cartoon', 'space', 'terraria'],
303
+ value="learned_embeds_gartic-phone.bin",
304
  label=styles_label
305
  ),
306
  ],