Update app.py
Browse files
app.py
CHANGED
|
@@ -285,12 +285,6 @@ def ui():
|
|
| 285 |
""")
|
| 286 |
return demo
|
| 287 |
|
| 288 |
-
import click
|
| 289 |
-
@click.command()
|
| 290 |
-
@click.option("--debug", is_flag=True, default=False, help="Enable debug mode.")
|
| 291 |
-
@click.option("--share", is_flag=True, default=False, help="Enable sharing of the interface.")
|
| 292 |
-
def main(debug, share):
|
| 293 |
-
demo=ui()
|
| 294 |
-
demo.queue().launch(debug=debug, share=share)
|
| 295 |
if __name__ == "__main__":
|
| 296 |
-
|
|
|
|
|
|
| 285 |
""")
|
| 286 |
return demo
|
| 287 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 288 |
if __name__ == "__main__":
|
| 289 |
+
demo = ui()
|
| 290 |
+
demo.queue().launch()
|