Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -119,11 +119,11 @@ with gr.Blocks() as demo:
|
|
119 |
# Hello World!
|
120 |
Start typing below to see the output.
|
121 |
""")
|
122 |
-
|
123 |
-
|
|
|
|
|
124 |
inp.change(inference, inp, out)
|
125 |
-
gr.HTML(f"<a href='https://www.google.com/'> Here's an example with Markdown component.</a>")
|
126 |
-
gr.Markdown(f"<a href='https://www.google.com/'> Example with HTML component!</a>")
|
127 |
|
128 |
if __name__ == "__main__":
|
129 |
demo.launch()
|
|
|
119 |
# Hello World!
|
120 |
Start typing below to see the output.
|
121 |
""")
|
122 |
+
with gr.Column(scale=1):
|
123 |
+
inp = gr.Image(label='Upload image')
|
124 |
+
with gr.Column(scale=1):
|
125 |
+
out = gr.Markdown()
|
126 |
inp.change(inference, inp, out)
|
|
|
|
|
127 |
|
128 |
if __name__ == "__main__":
|
129 |
demo.launch()
|