Shivdutta commited on
Commit
69dd5a5
·
verified ·
1 Parent(s): 62962fc

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -290,7 +290,7 @@ dict_styles = {
290
  'Matrix':'styles/learned_embeds_matrix.bin',
291
  'Oil Painting':'styles/learned_embeds_oil.bin',
292
  }
293
- # dict_styles.keys()
294
 
295
  def inference(prompt, style,seed):
296
 
@@ -308,7 +308,7 @@ examples = [["Pink Ferrari Car", 24041975,"Manga"], ["A man sipping tea wearing
308
 
309
  demo = gr.Interface(inference,
310
  inputs = [gr.Textbox(label='Prompt', value='Pink Ferrari Car'), gr.Textbox(label='Seed', value='24041975'),
311
- gr.Dropdown(['Dr Strange', 'GTA-5', 'Manga', 'Pokemon','Illustration','Matrix','Oil Painting'],value=["'Dr Strange"], label='Style')],
312
 
313
  outputs = [
314
  gr.Image(label="Stable Diffusion Output"),
 
290
  'Matrix':'styles/learned_embeds_matrix.bin',
291
  'Oil Painting':'styles/learned_embeds_oil.bin',
292
  }
293
+ dict_styles.keys()
294
 
295
  def inference(prompt, style,seed):
296
 
 
308
 
309
  demo = gr.Interface(inference,
310
  inputs = [gr.Textbox(label='Prompt', value='Pink Ferrari Car'), gr.Textbox(label='Seed', value='24041975'),
311
+ gr.Dropdown(['Dr Strange', 'GTA-5', 'Manga', 'Pokemon','Illustration','Matrix','Oil Painting'], label='Style')],
312
 
313
  outputs = [
314
  gr.Image(label="Stable Diffusion Output"),