Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import googlemaps
|
2 |
import os
|
3 |
-
#GM_TOKEN=os.environ.get("GM_TOKEN") # Get Google Maps Token Here:
|
4 |
|
5 |
from datetime import datetime
|
6 |
|
@@ -121,8 +121,8 @@ description = """Chatbot With persistent memory dataset allowing multiagent syst
|
|
121 |
def get_base(filename):
|
122 |
basedir = os.path.dirname(__file__)
|
123 |
print(basedir)
|
124 |
-
loadPath = basedir + "\\" + filename # works on windows
|
125 |
-
|
126 |
print(loadPath)
|
127 |
return loadPath
|
128 |
|
|
|
1 |
import googlemaps
|
2 |
import os
|
3 |
+
#GM_TOKEN=os.environ.get("GM_TOKEN") # Get Google Maps Token Here: https://console.cloud.google.com/google/maps-apis/
|
4 |
|
5 |
from datetime import datetime
|
6 |
|
|
|
121 |
def get_base(filename):
|
122 |
basedir = os.path.dirname(__file__)
|
123 |
print(basedir)
|
124 |
+
#loadPath = basedir + "\\" + filename # works on windows
|
125 |
+
loadPath = basedir + filename # works on ubuntu
|
126 |
print(loadPath)
|
127 |
return loadPath
|
128 |
|