WICKED4950 commited on
Commit
868b39f
·
verified ·
1 Parent(s): b39fac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import tensorflow as tf
4
  import json
5
  import os
6
  from datetime import datetime
7
-
 
8
  data = {"Interactions":[]}
9
  with open("question_answer.json", "w") as file:
10
  json.dump(data, file, indent=4)
 
4
  import json
5
  import os
6
  from datetime import datetime
7
+ from huggingface_hub import login, create_repo, upload_file
8
+ login(os.environ.get("hf_token"))
9
  data = {"Interactions":[]}
10
  with open("question_answer.json", "w") as file:
11
  json.dump(data, file, indent=4)