F-G Fernandez
commited on
Commit
·
e734841
1
Parent(s):
153f174
fix: fix arg type
Browse files- src/gradio_app.py +1 -1
src/gradio_app.py
CHANGED
|
@@ -85,7 +85,7 @@ if __name__ == "__main__":
|
|
| 85 |
description="Holocron image classification demo", formatter_class=ArgumentDefaultsHelpFormatter
|
| 86 |
)
|
| 87 |
parser.add_argument("--repo", type=str, default="frgfm/rexnet1_0x", help="HF Hub repo to use")
|
| 88 |
-
parser.add_argument("--port", type=int
|
| 89 |
args = parser.parse_args()
|
| 90 |
|
| 91 |
main(args)
|
|
|
|
| 85 |
description="Holocron image classification demo", formatter_class=ArgumentDefaultsHelpFormatter
|
| 86 |
)
|
| 87 |
parser.add_argument("--repo", type=str, default="frgfm/rexnet1_0x", help="HF Hub repo to use")
|
| 88 |
+
parser.add_argument("--port", type=int, default=None, help="Port on which the webserver will be run")
|
| 89 |
args = parser.parse_args()
|
| 90 |
|
| 91 |
main(args)
|