andresgtn commited on
Commit
a420a5f
1 Parent(s): e93792a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -73,14 +73,12 @@ title = "Find the next James Bond"
73
  description = "Write the name of a celebrity, and pick a Bond movie from the dropdown menu.\
74
  This will generate a new movie poster (inspired by the chosen movie)\
75
  with the new celebrity in it. See below for explanation of the\
76
- input variables."
77
- article= "Inputs explained: \n Guidance: the lower, the more random the output\
78
- image. Improve and scale: if selected, the image resolution will be increased\
79
- using GFP-GAN (google it), and it's size increased (if scale is >1)."
80
 
81
  demo = gr.Interface(
82
  fn=generate,
83
- inputs=[gr.Textbox(value="Emma Watson"),
84
  gr.Dropdown(movie_options, value="Skyfall (2012)"),
85
  gr.Slider(1, 20, value=7.5, step=0.5),
86
  gr.Checkbox(label="Improve and scale? (takes longer to process)"),
 
73
  description = "Write the name of a celebrity, and pick a Bond movie from the dropdown menu.\
74
  This will generate a new movie poster (inspired by the chosen movie)\
75
  with the new celebrity in it. See below for explanation of the\
76
+ input variables (guidance, improve and scale). Some candidates are Tom Hardy, Idris Elba, Henry Cavill, Suranne Jones, Lashana Lynch, and Robert Pattinson."
77
+ article= "Inputs explained: \n Guidance: a lower value will show more random results, but with better image quality. Improve and scale: if selected, the image resolution will be increased and faces will be higher quality with the eyes and facial features better defined), also the image size (originally 512x512) will be scaled by the chosen factor. Uses [GFP-GAN](https://github.com/TencentARC/GFPGAN)."
 
 
78
 
79
  demo = gr.Interface(
80
  fn=generate,
81
+ inputs=[gr.Textbox(value="Tom Hardy"),
82
  gr.Dropdown(movie_options, value="Skyfall (2012)"),
83
  gr.Slider(1, 20, value=7.5, step=0.5),
84
  gr.Checkbox(label="Improve and scale? (takes longer to process)"),