Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,11 +27,11 @@ with gr.Blocks() as demo:
|
|
| 27 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
| 28 |
img1=gr.Image(type='filepath',tool=['editor', 'select'] )
|
| 29 |
|
| 30 |
-
|
| 31 |
out=gr.Label()
|
| 32 |
btn = gr.Button("Run")
|
| 33 |
btn.click(fn=fonc, inputs=img1, outputs=out)
|
| 34 |
|
| 35 |
|
| 36 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 37 |
demo.launch()
|
|
|
|
| 27 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
| 28 |
img1=gr.Image(type='filepath',tool=['editor', 'select'] )
|
| 29 |
|
| 30 |
+
# out = gr.Textbox()
|
| 31 |
out=gr.Label()
|
| 32 |
btn = gr.Button("Run")
|
| 33 |
btn.click(fn=fonc, inputs=img1, outputs=out)
|
| 34 |
|
| 35 |
|
| 36 |
+
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 37 |
demo.launch()
|