Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,11 +11,10 @@ with open("config.txt", "r") as f:
|
|
11 |
|
12 |
repo_id = config["repo_id"]
|
13 |
repo_type = config["repo_type"]
|
14 |
-
|
15 |
-
password = config["password"]
|
16 |
|
17 |
# Utworzenie folderu Hugging Face z tokenem uwierzytelniającym
|
18 |
-
hf_folder = HfFolder(repo_id, repo_type, token=
|
19 |
|
20 |
# Wczytanie modelu chatbota z Hugging Face
|
21 |
model_name = "pp3232133/distilgpt2-wikitext2"
|
|
|
11 |
|
12 |
repo_id = config["repo_id"]
|
13 |
repo_type = config["repo_type"]
|
14 |
+
token = config["token"]
|
|
|
15 |
|
16 |
# Utworzenie folderu Hugging Face z tokenem uwierzytelniającym
|
17 |
+
hf_folder = HfFolder(repo_id, repo_type, token=token)
|
18 |
|
19 |
# Wczytanie modelu chatbota z Hugging Face
|
20 |
model_name = "pp3232133/distilgpt2-wikitext2"
|