Spaces:
Runtime error
Runtime error
simple launch
Browse files
app.py
CHANGED
@@ -114,10 +114,10 @@ def main(args):
|
|
114 |
predictor = PredictorBackend(url=args.model_url)
|
115 |
frontend = make_frontend(predictor.run, flagging=args.flagging, gantry=args.gantry, app_name=args.application)
|
116 |
frontend.launch(
|
117 |
-
server_name="0.0.0.0", # make server accessible, binding all interfaces # noqa: S104
|
118 |
-
server_port=args.port, # set a port to bind to, failing if unavailable
|
119 |
-
share=False, # should we create a (temporary) public link on https://gradio.app?
|
120 |
-
favicon_path=FAVICON, # what icon should we display in the address bar?
|
121 |
)
|
122 |
|
123 |
|
|
|
114 |
predictor = PredictorBackend(url=args.model_url)
|
115 |
frontend = make_frontend(predictor.run, flagging=args.flagging, gantry=args.gantry, app_name=args.application)
|
116 |
frontend.launch(
|
117 |
+
# server_name="0.0.0.0", # make server accessible, binding all interfaces # noqa: S104
|
118 |
+
# server_port=args.port, # set a port to bind to, failing if unavailable
|
119 |
+
# share=False, # should we create a (temporary) public link on https://gradio.app?
|
120 |
+
# favicon_path=FAVICON, # what icon should we display in the address bar?
|
121 |
)
|
122 |
|
123 |
|