Add1E commited on
Commit
33423ec
·
1 Parent(s): f916afa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -5,7 +5,7 @@ import csv
5
  import os
6
  import pandas as pd
7
  import random
8
- from huggingface_hub import Repository, HfApi, HfFolder
9
  import openai
10
 
11
 
@@ -96,10 +96,10 @@ df.columns = [col.replace(' ', '_') for col in df.columns]
96
  url = st.text_input("URL eingeben", "https://www.beispielwebsite.com")
97
 
98
 
99
- if st.sidebar.button("Upload Data"):
100
- repo.git_add(os.path.abspath(f'{localdir}/results.csv'))
101
- repo.git_commit("Add new headlines.csv")
102
- repo.git_push()
103
 
104
 
105
  #auswahl = st.sidebar.selectbox("Wählen Sie eine Prediction:", ["None", "Prediction 1", "Prediction 2", "Prediction 3", "Prediction 4", "Prediction 5"])
 
5
  import os
6
  import pandas as pd
7
  import random
8
+ #from huggingface_hub import Repository, HfApi, HfFolder
9
  import openai
10
 
11
 
 
96
  url = st.text_input("URL eingeben", "https://www.beispielwebsite.com")
97
 
98
 
99
+ #if st.sidebar.button("Upload Data"):
100
+ # repo.git_add(os.path.abspath(f'{localdir}/results.csv'))
101
+ # repo.git_commit("Add new headlines.csv")
102
+ # repo.git_push()
103
 
104
 
105
  #auswahl = st.sidebar.selectbox("Wählen Sie eine Prediction:", ["None", "Prediction 1", "Prediction 2", "Prediction 3", "Prediction 4", "Prediction 5"])