CognitiveScience commited on
Commit
fa3596e
1 Parent(s): b280414

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -7
app.py CHANGED
@@ -9,10 +9,10 @@ import pandas as pd
9
  import math
10
  import json
11
 
12
- import sqlite3
13
- import huggingface_hub
14
  #import pandas as pd
15
- import shutil
16
  import os
17
  import datetime
18
  from apscheduler.schedulers.background import BackgroundScheduler
@@ -21,17 +21,20 @@ import random
21
  import time
22
  #import requests
23
 
24
- from huggingface_hub import hf_hub_download
 
25
 
 
 
26
  #hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./reviews.csv")
27
 
28
- from huggingface_hub import login
29
- from datasets import load_dataset
30
 
31
  #dataset = load_dataset("csv", data_files="./data.csv")
32
 
33
 
34
- DB_FILE = "./reviewsitr.db"
35
 
36
  #TOKEN = os.environ.get('HF_KEY')
37
 
 
9
  import math
10
  import json
11
 
12
+ #import sqlite3
13
+ #import huggingface_hub
14
  #import pandas as pd
15
+ #import shutil
16
  import os
17
  import datetime
18
  from apscheduler.schedulers.background import BackgroundScheduler
 
21
  import time
22
  #import requests
23
 
24
+ #from huggingface_hub import hf_hub_download
25
+ #repo = huggingface_hub.HfRepository(repo_id="lysandre/test-model", token=token)
26
 
27
+ # Clone the repository to a local directory
28
+ #repo.clone_from_hub()
29
  #hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./reviews.csv")
30
 
31
+ #from huggingface_hub import login
32
+ #from datasets import load_dataset
33
 
34
  #dataset = load_dataset("csv", data_files="./data.csv")
35
 
36
 
37
+ #DB_FILE = "./reviewsitr.db"
38
 
39
  #TOKEN = os.environ.get('HF_KEY')
40