Spaces:
Build error
Build error
Commit
·
d8dc6b8
1
Parent(s):
2b438fd
Update app.py
Browse files
app.py
CHANGED
|
@@ -279,13 +279,14 @@ interface.launch(share=True)
|
|
| 279 |
# gr.Interface(fn=predict, inputs="image", outputs="image").launch(share=True)
|
| 280 |
|
| 281 |
image = gr.inputs.Image(source='upload', tool='sketch', type="pil", label="Upload")# .style(height=400)
|
| 282 |
-
image_blocks = gr.Interface(
|
| 283 |
-
|
| 284 |
-
|
|
|
|
| 285 |
# examples=[["cheetah.jpg"]],
|
| 286 |
)
|
| 287 |
|
| 288 |
-
image_blocks.launch()
|
| 289 |
|
| 290 |
'''
|
| 291 |
image_blocks = gr.Blocks(css=css)
|
|
|
|
| 279 |
# gr.Interface(fn=predict, inputs="image", outputs="image").launch(share=True)
|
| 280 |
|
| 281 |
image = gr.inputs.Image(source='upload', tool='sketch', type="pil", label="Upload")# .style(height=400)
|
| 282 |
+
image_blocks = gr.Interface(
|
| 283 |
+
fn=predict,
|
| 284 |
+
inputs=image,
|
| 285 |
+
outputs=image,
|
| 286 |
# examples=[["cheetah.jpg"]],
|
| 287 |
)
|
| 288 |
|
| 289 |
+
image_blocks.launch(inline=True)
|
| 290 |
|
| 291 |
'''
|
| 292 |
image_blocks = gr.Blocks(css=css)
|