Spaces:
Build error
Build error
Commit ·
ae5bfc1
1
Parent(s): 3c9a94a
Update gradio_app.py
Browse files- gradio_app.py +1 -2
gradio_app.py
CHANGED
|
@@ -7,7 +7,6 @@ import schedule
|
|
| 7 |
from gradio import utils
|
| 8 |
import huggingface_hub
|
| 9 |
from pathlib import Path
|
| 10 |
-
from src.models.bert import BERTClassifier
|
| 11 |
from src.utils.utilities import Utility
|
| 12 |
|
| 13 |
model = BERTClassifier(model_name='jeevavijay10/nlp-goemotions-bert')
|
|
@@ -23,7 +22,7 @@ headers = ["input", "output", "timestamp", "elapsed"]
|
|
| 23 |
|
| 24 |
repo = huggingface_hub.Repository(
|
| 25 |
local_dir=dataset_dir,
|
| 26 |
-
clone_from="https://huggingface.co/
|
| 27 |
token=hf_token,
|
| 28 |
)
|
| 29 |
repo.git_pull(lfs=True)
|
|
|
|
| 7 |
from gradio import utils
|
| 8 |
import huggingface_hub
|
| 9 |
from pathlib import Path
|
|
|
|
| 10 |
from src.utils.utilities import Utility
|
| 11 |
|
| 12 |
model = BERTClassifier(model_name='jeevavijay10/nlp-goemotions-bert')
|
|
|
|
| 22 |
|
| 23 |
repo = huggingface_hub.Repository(
|
| 24 |
local_dir=dataset_dir,
|
| 25 |
+
clone_from="https://huggingface.co/spaces/priyasaravana/CodeSummarization",
|
| 26 |
token=hf_token,
|
| 27 |
)
|
| 28 |
repo.git_pull(lfs=True)
|