Spaces:
Sleeping
Sleeping
Leon Seidel
commited on
Commit
·
d387a30
1
Parent(s):
0e11197
Inputs/Outputs
Browse files
app.py
CHANGED
@@ -49,5 +49,8 @@ def generate(image):
|
|
49 |
)
|
50 |
return output_text
|
51 |
|
52 |
-
|
|
|
|
|
|
|
53 |
demo.launch()
|
|
|
49 |
)
|
50 |
return output_text
|
51 |
|
52 |
+
inputs = gr.Image(type="pil", label="Input Image")
|
53 |
+
outputs = gr.Textbox(label="Output")
|
54 |
+
|
55 |
+
demo = gr.Interface(fn=generate, inputs=inputs, outputs=outputs, deep_link=False)
|
56 |
demo.launch()
|