Remove unnecessary main guard from app.py
Browse files
app.py
CHANGED
|
@@ -68,5 +68,4 @@ with gr.Blocks(title=title) as demo:
|
|
| 68 |
# Trigger prediction whenever the image changes
|
| 69 |
im.change(predict, inputs=im, outputs=label, show_progress="hidden")
|
| 70 |
|
| 71 |
-
if __name__ == "__main__":
|
| 72 |
demo.launch(share=True)
|
|
|
|
| 68 |
# Trigger prediction whenever the image changes
|
| 69 |
im.change(predict, inputs=im, outputs=label, show_progress="hidden")
|
| 70 |
|
|
|
|
| 71 |
demo.launch(share=True)
|