Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,13 +128,14 @@ with gr.Blocks(css=css) as demo:
|
|
| 128 |
community_icon = gr.HTML(community_icon_html)
|
| 129 |
loading_icon = gr.HTML(loading_icon_html)
|
| 130 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
| 131 |
-
|
| 132 |
gr.Examples(examples=[["./examples/crabby.png"],["./examples/hopper.jpeg"]],
|
| 133 |
fn=infer,
|
| 134 |
inputs=[image_in],
|
| 135 |
outputs=[story, share_group],
|
| 136 |
cache_examples=True
|
| 137 |
)
|
|
|
|
| 138 |
submit_btn.click(fn=infer, inputs=[image_in], outputs=[story, share_group])
|
| 139 |
share_button.click(None, [], [], _js=share_js)
|
| 140 |
|
|
|
|
| 128 |
community_icon = gr.HTML(community_icon_html)
|
| 129 |
loading_icon = gr.HTML(loading_icon_html)
|
| 130 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
| 131 |
+
"""
|
| 132 |
gr.Examples(examples=[["./examples/crabby.png"],["./examples/hopper.jpeg"]],
|
| 133 |
fn=infer,
|
| 134 |
inputs=[image_in],
|
| 135 |
outputs=[story, share_group],
|
| 136 |
cache_examples=True
|
| 137 |
)
|
| 138 |
+
"""
|
| 139 |
submit_btn.click(fn=infer, inputs=[image_in], outputs=[story, share_group])
|
| 140 |
share_button.click(None, [], [], _js=share_js)
|
| 141 |
|