PedroC11 commited on
Commit
74948f6
·
verified ·
1 Parent(s): 5b3eb58

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -0
src/streamlit_app.py CHANGED
@@ -7,10 +7,12 @@ import uuid
7
  from pathlib import Path
8
  from huggingface_hub import CommitScheduler
9
  import json
 
10
  #==
11
 
12
 
13
  #===
 
14
  # Define the file where to save the data. Use UUID to make sure not to overwrite existing data from a previous run.
15
  feedback_file = Path("PedroC11/data_pref/") / f"data_{uuid.uuid4()}.json"
16
  feedback_folder = feedback_file.parent
 
7
  from pathlib import Path
8
  from huggingface_hub import CommitScheduler
9
  import json
10
+ from huggingface_hub import notebook_login
11
  #==
12
 
13
 
14
  #===
15
+ notebook_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