Spaces:
Sleeping
Sleeping
Adding text
Browse filesAdding text to the app
app.py
CHANGED
|
@@ -9,6 +9,12 @@ def launch(input):
|
|
| 9 |
out = pipe(input)
|
| 10 |
return out[0]['generated_text']
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
iface = gr.Interface(launch,
|
| 13 |
inputs=gr.Image(type='pil'),
|
| 14 |
outputs="text")
|
|
|
|
| 9 |
out = pipe(input)
|
| 10 |
return out[0]['generated_text']
|
| 11 |
|
| 12 |
+
gr.Markdown(
|
| 13 |
+
"""
|
| 14 |
+
# Hello World!
|
| 15 |
+
Start typing below to see the output.
|
| 16 |
+
""")
|
| 17 |
+
|
| 18 |
iface = gr.Interface(launch,
|
| 19 |
inputs=gr.Image(type='pil'),
|
| 20 |
outputs="text")
|