Spaces:
Build error
Build error
file to filepath
Browse files
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="
|
144 |
-
gr.Image(type="
|
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"),
|