Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -7,12 +7,12 @@ import uuid
|
|
| 7 |
from pathlib import Path
|
| 8 |
from huggingface_hub import CommitScheduler
|
| 9 |
import json
|
| 10 |
-
from huggingface_hub import
|
| 11 |
#==
|
| 12 |
|
| 13 |
|
| 14 |
#===
|
| 15 |
-
|
| 16 |
# Define the file where to save the data. Use UUID to make sure not to overwrite existing data from a previous run.
|
| 17 |
feedback_file = Path("PedroC11/data_pref/") / f"data_{uuid.uuid4()}.json"
|
| 18 |
feedback_folder = feedback_file.parent
|
|
|
|
| 7 |
from pathlib import Path
|
| 8 |
from huggingface_hub import CommitScheduler
|
| 9 |
import json
|
| 10 |
+
from huggingface_hub import login
|
| 11 |
#==
|
| 12 |
|
| 13 |
|
| 14 |
#===
|
| 15 |
+
login()
|
| 16 |
# Define the file where to save the data. Use UUID to make sure not to overwrite existing data from a previous run.
|
| 17 |
feedback_file = Path("PedroC11/data_pref/") / f"data_{uuid.uuid4()}.json"
|
| 18 |
feedback_folder = feedback_file.parent
|