Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|