Spaces:
Sleeping
Sleeping
flonga35
commited on
Commit
·
f902dba
1
Parent(s):
9b23dbc
remove port from launch
Browse files- app_gradio/app.py +1 -5
app_gradio/app.py
CHANGED
|
@@ -30,11 +30,7 @@ def main(args):
|
|
| 30 |
frontend = make_frontend(
|
| 31 |
predictor.run
|
| 32 |
)
|
| 33 |
-
frontend.launch(
|
| 34 |
-
server_name="0.0.0.0", # noqa: S104
|
| 35 |
-
server_port=args.port, # set a port to bind to, failing if unavailable
|
| 36 |
-
favicon_path=FAVICON,
|
| 37 |
-
)
|
| 38 |
|
| 39 |
|
| 40 |
def make_frontend(
|
|
|
|
| 30 |
frontend = make_frontend(
|
| 31 |
predictor.run
|
| 32 |
)
|
| 33 |
+
frontend.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
def make_frontend(
|