Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
@@ -267,7 +267,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
267 |
image_prompt = gr.Image(
|
268 |
label="Reference Image for customization",
|
269 |
interactive=True,
|
270 |
-
height=280
|
|
|
271 |
)
|
272 |
|
273 |
|
@@ -368,7 +369,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
368 |
# inputs=gr.Number(1, visible=False),
|
369 |
# outputs=generate_button,
|
370 |
# )
|
371 |
-
|
372 |
inputs = [
|
373 |
prompt,
|
374 |
textual_concept,
|
|
|
267 |
image_prompt = gr.Image(
|
268 |
label="Reference Image for customization",
|
269 |
interactive=True,
|
270 |
+
height=280,
|
271 |
+
type="pil"
|
272 |
)
|
273 |
|
274 |
|
|
|
369 |
# inputs=gr.Number(1, visible=False),
|
370 |
# outputs=generate_button,
|
371 |
# )
|
372 |
+
print(type(image_prompt))
|
373 |
inputs = [
|
374 |
prompt,
|
375 |
textual_concept,
|