Spaces:
Running
Running
remove TODO and upgrade Gradio version
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🐶
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.8.1
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -12,8 +12,6 @@ def run(token: str, model_id: str) -> str:
|
|
12 |
Please fill a token and model_id.
|
13 |
"""
|
14 |
try:
|
15 |
-
# TODO(Run this in a separate directory otherwise max_concurrency = 1...)
|
16 |
-
# as filename of conversion is fixed.
|
17 |
api = HfApi(token=token)
|
18 |
commit_info = convert(api=api, model_id=model_id)
|
19 |
return f"""
|
|
|
12 |
Please fill a token and model_id.
|
13 |
"""
|
14 |
try:
|
|
|
|
|
15 |
api = HfApi(token=token)
|
16 |
commit_info = convert(api=api, model_id=model_id)
|
17 |
return f"""
|