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