Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ def save_question(question,answer,path = "question_answer.json"):
|
|
17 |
data.append({"Question:":question,"Answer:":answer})
|
18 |
with open(path, "w") as file:
|
19 |
json.dump(data, file, indent=4)
|
|
|
20 |
|
21 |
print("Interface getting done....")
|
22 |
# Define the chatbot function
|
|
|
17 |
data.append({"Question:":question,"Answer:":answer})
|
18 |
with open(path, "w") as file:
|
19 |
json.dump(data, file, indent=4)
|
20 |
+
print("saving question")
|
21 |
|
22 |
print("Interface getting done....")
|
23 |
# Define the chatbot function
|