theFisher86 commited on
Commit
57859cc
1 Parent(s): 8b5c914

Update app.py

Browse files

change gradio to file

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,6 +24,6 @@ def greet(name):
24
  return "Hello " + name + "!!"
25
 
26
  gr.Interface(
27
- fileUploadBody=gr.inputs.Image(label="Upload Body Picture", type="filepath"),
28
- fileUploadFace=gr.inputs.Image(label="Upload Face Picture", type="filepath"),
29
  ).launch()
 
24
  return "Hello " + name + "!!"
25
 
26
  gr.Interface(
27
+ fileUploadBody=gr.File(label="Upload Body Picture", type="filepath"),
28
+ fileUploadFace=gr.File(label="Upload Face Picture", type="filepath"),
29
  ).launch()