tombetthauser commited on
Commit
3491a10
Β·
1 Parent(s): 04448f6
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,6 +19,7 @@ DROPDOWNS = {
19
  "hayao": " by studio ghibli",
20
  "vinny": " painting by Vincent van Gogh",
21
  "danny": " drawn by a child",
 
22
  }
23
 
24
  def image_prompt(prompt, dropdown):
@@ -105,7 +106,7 @@ with gradio.Blocks(css="""
105
  margin-right: auto;
106
  }
107
  """) as demo:
108
- dropdown = gradio.Dropdown(["danny", "gustav", "hayao", "vinny"], label="choose style...")
109
  prompt = gradio.Textbox(label="image prompt...", elem_id="input-text")
110
  output = gradio.Image(elem_id="output-image")
111
  go_button = gradio.Button("draw it!", elem_id="go-button")
 
19
  "hayao": " by studio ghibli",
20
  "vinny": " painting by Vincent van Gogh",
21
  "danny": " drawn by a child",
22
+ "jeff": " by jeff koons",
23
  }
24
 
25
  def image_prompt(prompt, dropdown):
 
106
  margin-right: auto;
107
  }
108
  """) as demo:
109
+ dropdown = gradio.Dropdown(["danny", "gustav", "hayao", "vinny", "jeff"], label="choose style...")
110
  prompt = gradio.Textbox(label="image prompt...", elem_id="input-text")
111
  output = gradio.Image(elem_id="output-image")
112
  go_button = gradio.Button("draw it!", elem_id="go-button")