Shivdutta commited on
Commit
48b164b
·
verified ·
1 Parent(s): f76de0a

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -301,12 +301,12 @@ def inference(prompt, style,seed):
301
 
302
  title = "Stable Diffusion and Textual Inversion"
303
  description = "A simple Gradio interface to stylize Stable Diffusion outputs"
304
- examples = [['Pink Ferrari Car', 'Manga'], ['A man sipping wine wearing a spacesuit on the moon', 'GTA-5']] # Added valid styles
305
 
306
  demo = gr.Interface(inference,
307
- inputs = [gr.Textbox(label='Prompt'),
308
  gr.Dropdown(['Dr Strange', 'GTA-5', 'Manga', 'Pokemon'], label='Style')],
309
- gr.Textbox(label='Seed', value='24041975'),
310
  outputs = [
311
  gr.Image(label="Stable Diffusion Output"),
312
  ],
 
301
 
302
  title = "Stable Diffusion and Textual Inversion"
303
  description = "A simple Gradio interface to stylize Stable Diffusion outputs"
304
+ examples = [['Pink Ferrari Car', '24041975','Manga'], ['A man sipping tea wearing a spacesuit on the moon','24041975', 'GTA-5']] # Added valid styles
305
 
306
  demo = gr.Interface(inference,
307
+ inputs = [gr.Textbox(label='Prompt'), gr.Textbox(label='Seed', value='24041975'),
308
  gr.Dropdown(['Dr Strange', 'GTA-5', 'Manga', 'Pokemon'], label='Style')],
309
+
310
  outputs = [
311
  gr.Image(label="Stable Diffusion Output"),
312
  ],