Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,13 +9,13 @@ import os
|
|
| 9 |
import gradio as gr
|
| 10 |
from huggingface_hub import Repository
|
| 11 |
|
| 12 |
-
repo = Repository(
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
)
|
| 18 |
-
repo.git_pull()
|
| 19 |
|
| 20 |
cwd = pathlib.Path(__file__).parent.resolve()
|
| 21 |
model_file = os.path.join(cwd,"secret_models","captcha.onnx")
|
|
|
|
| 9 |
import gradio as gr
|
| 10 |
from huggingface_hub import Repository
|
| 11 |
|
| 12 |
+
# repo = Repository(
|
| 13 |
+
# local_dir="secret_models",
|
| 14 |
+
# repo_type="model",
|
| 15 |
+
# clone_from="docparser/captcha",
|
| 16 |
+
# token=True
|
| 17 |
+
# )
|
| 18 |
+
# repo.git_pull()
|
| 19 |
|
| 20 |
cwd = pathlib.Path(__file__).parent.resolve()
|
| 21 |
model_file = os.path.join(cwd,"secret_models","captcha.onnx")
|