Spaces:
Running
Running
Commit
·
cd73099
1
Parent(s):
84e3582
Update app.py
Browse files
app.py
CHANGED
|
@@ -265,11 +265,17 @@ css = '''
|
|
| 265 |
#share-btn-container .wrap {
|
| 266 |
display: none !important;
|
| 267 |
}
|
|
|
|
|
|
|
| 268 |
'''
|
| 269 |
sketchpad = Sketchpad()
|
| 270 |
imageupload = ImageUplaod()
|
| 271 |
interface = gr.Interface(fn=predict, inputs="image", outputs="image", sketchpad, imageupload)
|
|
|
|
| 272 |
interface.launch(share=True)
|
|
|
|
|
|
|
|
|
|
| 273 |
|
| 274 |
'''
|
| 275 |
image_blocks = gr.Blocks(css=css)
|
|
|
|
| 265 |
#share-btn-container .wrap {
|
| 266 |
display: none !important;
|
| 267 |
}
|
| 268 |
+
'''
|
| 269 |
+
|
| 270 |
'''
|
| 271 |
sketchpad = Sketchpad()
|
| 272 |
imageupload = ImageUplaod()
|
| 273 |
interface = gr.Interface(fn=predict, inputs="image", outputs="image", sketchpad, imageupload)
|
| 274 |
+
|
| 275 |
interface.launch(share=True)
|
| 276 |
+
'''
|
| 277 |
+
|
| 278 |
+
gr.Interface(fn=predict, inputs="image", outputs="image").launch(share=True)
|
| 279 |
|
| 280 |
'''
|
| 281 |
image_blocks = gr.Blocks(css=css)
|