Init
Browse files
app.py
CHANGED
|
@@ -2,14 +2,14 @@ import streamlit as st
|
|
| 2 |
from huggingface_hub import Repository
|
| 3 |
|
| 4 |
repo = Repository(
|
| 5 |
-
local_dir="./",
|
| 6 |
repo_type="model",
|
| 7 |
clone_from="stistko/CzechPunctuationKapitalizationBART",
|
| 8 |
token=True
|
| 9 |
)
|
| 10 |
repo.git_pull()
|
| 11 |
|
| 12 |
-
from model import Model
|
| 13 |
|
| 14 |
model = Model()
|
| 15 |
|
|
|
|
| 2 |
from huggingface_hub import Repository
|
| 3 |
|
| 4 |
repo = Repository(
|
| 5 |
+
local_dir="./scripts",
|
| 6 |
repo_type="model",
|
| 7 |
clone_from="stistko/CzechPunctuationKapitalizationBART",
|
| 8 |
token=True
|
| 9 |
)
|
| 10 |
repo.git_pull()
|
| 11 |
|
| 12 |
+
from scripts.model import Model
|
| 13 |
|
| 14 |
model = Model()
|
| 15 |
|