Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import google.generativeai as genai
|
|
11 |
#save json data
|
12 |
|
13 |
def save_data():
|
14 |
-
with open
|
15 |
data =json.load(file)
|
16 |
allchatlog = data["chatlog"]
|
17 |
|
|
|
11 |
#save json data
|
12 |
|
13 |
def save_data():
|
14 |
+
with open("data.json")as file:
|
15 |
data =json.load(file)
|
16 |
allchatlog = data["chatlog"]
|
17 |
|