emirhanno commited on
Commit
208a670
1 Parent(s): 2e3a7de

file to filepath

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -140,8 +140,8 @@ def generate_image(face_image_1, face_image_2, prompt, gender, width, height, nu
140
  gr_interface = gr.Interface(
141
  fn=generate_image,
142
  inputs=[
143
- gr.Image(type="file", label="First Face Image"),
144
- gr.Image(type="file", label="Second Face Image"),
145
  gr.Textbox(value="portrait of a 6 y.o. child, 8k, HD, happy, in living room, perfect eyes, cute", label="Prompt"),
146
  gr.Dropdown(choices=["Boy", "Girl", "Random"], value="Boy", label="Gender"),
147
  gr.Slider(256, 1024, value=768, step=64, label="Width"),
 
140
  gr_interface = gr.Interface(
141
  fn=generate_image,
142
  inputs=[
143
+ gr.Image(type="filepath", label="First Face Image"),
144
+ gr.Image(type="filepath", label="Second Face Image"),
145
  gr.Textbox(value="portrait of a 6 y.o. child, 8k, HD, happy, in living room, perfect eyes, cute", label="Prompt"),
146
  gr.Dropdown(choices=["Boy", "Girl", "Random"], value="Boy", label="Gender"),
147
  gr.Slider(256, 1024, value=768, step=64, label="Width"),