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

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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 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
 
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