muryshev commited on
Commit
fd9191b
1 Parent(s): 6047f66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,13 +56,13 @@ app.logger.info('Model path: ' + model_path)
56
 
57
  DATASET_REPO_URL = "https://huggingface.co/datasets/muryshev/saiga-chat"
58
  DATA_FILENAME = "data.csv"
59
- DATA_FILE = os.path.join("data", DATA_FILENAME)
60
 
61
  HF_TOKEN = os.environ.get("HF_TOKEN")
62
  app.logger.info("hfh: "+huggingface_hub.__version__)
63
 
64
  repo = Repository(
65
- local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
66
  )
67
 
68
  def log(request: str = '', response: str = ''):
 
56
 
57
  DATASET_REPO_URL = "https://huggingface.co/datasets/muryshev/saiga-chat"
58
  DATA_FILENAME = "data.csv"
59
+ DATA_FILE = os.path.join("dataset", DATA_FILENAME)
60
 
61
  HF_TOKEN = os.environ.get("HF_TOKEN")
62
  app.logger.info("hfh: "+huggingface_hub.__version__)
63
 
64
  repo = Repository(
65
+ local_dir="dataset", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
66
  )
67
 
68
  def log(request: str = '', response: str = ''):