Spaces:
Runtime error
Runtime error
Steven Anderson
commited on
Commit
•
c9db301
1
Parent(s):
58bb65b
PIL
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def process(image, prompt):
|
|
30 |
iface = gr.Interface(
|
31 |
fn=process,
|
32 |
inputs=[
|
33 |
-
gr.Image(),
|
34 |
gr.Textbox(lines=5, label="Prompts (newline-separated)"),
|
35 |
],
|
36 |
outputs="label",
|
|
|
30 |
iface = gr.Interface(
|
31 |
fn=process,
|
32 |
inputs=[
|
33 |
+
gr.Image(type="pil"),
|
34 |
gr.Textbox(lines=5, label="Prompts (newline-separated)"),
|
35 |
],
|
36 |
outputs="label",
|