F-G Fernandez commited on
Commit ·
5da2458
1
Parent(s): c4a1930
feat: switch back to gradio
Browse files- README.md +3 -2
- src/gradio_app.py +1 -1
README.md
CHANGED
|
@@ -3,8 +3,9 @@ title: Holocron
|
|
| 3 |
emoji: 👁️🗨️
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: purple
|
| 6 |
-
sdk:
|
| 7 |
-
|
|
|
|
| 8 |
tags:
|
| 9 |
- gradio
|
| 10 |
pinned: true
|
|
|
|
| 3 |
emoji: 👁️🗨️
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.43.1
|
| 8 |
+
app_file: src/gradio_app.py
|
| 9 |
tags:
|
| 10 |
- gradio
|
| 11 |
pinned: true
|
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, default=
|
| 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 | None, default=None, help="Port on which the webserver will be run")
|
| 89 |
args = parser.parse_args()
|
| 90 |
|
| 91 |
main(args)
|