penpen commited on
Commit
1bd32c0
1 Parent(s): 3bc6633

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -189,9 +189,9 @@ def process_image(input_img,input_age,output_age):
189
  output = Image.fromarray(output)
190
  return output
191
 
192
- description="Enter age of input image and desired age. Crop out face. Better results on high resolution (512x512 face). To avoid background/hair artifacts, use with a face parser."
193
 
194
 
195
 
196
  # Create the Gradio interface
197
- gr.Interface(fn=process_image, inputs=[input_image,input_age,output_age], outputs=output_image,description=description, title="Age Transformation",examples=[["example_image_output.png",20,40]]).launch(debug=True)
 
189
  output = Image.fromarray(output)
190
  return output
191
 
192
+ description="Enter age of input image and desired age. Crop out background. Better results on high resolution (512x512 face). To avoid background/hair artifacts, use with a face parser."
193
 
194
 
195
 
196
  # Create the Gradio interface
197
+ gr.Interface(fn=process_image, inputs=[input_image,input_age,output_age], outputs=output_image,description=description, title="Age Transformation",examples=[["example_image_input2.jpeg",30,65],["example_image_output.png",20,40]]).launch(debug=True)