Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,5 +7,5 @@ def launch(input):
|
|
7 |
out = pipe(input)
|
8 |
return out[0]['generated_text']
|
9 |
|
10 |
-
iface = gr.Interface(launch, inputs=
|
11 |
iface.launch()
|
|
|
7 |
out = pipe(input)
|
8 |
return out[0]['generated_text']
|
9 |
|
10 |
+
iface = gr.Interface(launch, inputs=gr.Image(type='pil'), outputs="text")
|
11 |
iface.launch()
|