Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
import difflib
|
| 3 |
import json
|
| 4 |
import os
|
| 5 |
import re
|
| 6 |
import requests
|
|
|
|
|
|
|
| 7 |
from memory_store import log_chat, build_or_update_index, search_similar
|
| 8 |
|
|
|
|
| 9 |
GOOGLE_API_KEY = "AIzaSyCgOaCQEVvOuNtZhOkrmcnqzuiiPDA6b1Q" # π Replace this
|
| 10 |
SEARCH_ENGINE_ID = "17357d675fc704764" # π Replace this
|
| 11 |
COURSE_DB_PATH = "mock_courses.json"
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
import json
|
| 3 |
import os
|
| 4 |
import re
|
| 5 |
import requests
|
| 6 |
+
import difflib
|
| 7 |
+
from datetime import datetime
|
| 8 |
from memory_store import log_chat, build_or_update_index, search_similar
|
| 9 |
|
| 10 |
+
|
| 11 |
GOOGLE_API_KEY = "AIzaSyCgOaCQEVvOuNtZhOkrmcnqzuiiPDA6b1Q" # π Replace this
|
| 12 |
SEARCH_ENGINE_ID = "17357d675fc704764" # π Replace this
|
| 13 |
COURSE_DB_PATH = "mock_courses.json"
|