Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ class ChatbotAPP:
|
|
88 |
return cleaned_text
|
89 |
|
90 |
def upload_to_google_drive(self):
|
91 |
-
existing_files = search_file()
|
92 |
print(existing_files)
|
93 |
|
94 |
data = {
|
@@ -257,6 +257,7 @@ class ChatbotAPP:
|
|
257 |
return app
|
258 |
|
259 |
llm = load_model()
|
|
|
260 |
chatbot_app = ChatbotAPP(llm,SERVICE_ACCOUNT_FILE,SCOPES,folder_id,unique_id,initContext)
|
261 |
app = chatbot_app.create_app()
|
262 |
app.launch(debug=True)
|
|
|
88 |
return cleaned_text
|
89 |
|
90 |
def upload_to_google_drive(self):
|
91 |
+
existing_files = self.search_file()
|
92 |
print(existing_files)
|
93 |
|
94 |
data = {
|
|
|
257 |
return app
|
258 |
|
259 |
llm = load_model()
|
260 |
+
unique_id = generate_unique_id()
|
261 |
chatbot_app = ChatbotAPP(llm,SERVICE_ACCOUNT_FILE,SCOPES,folder_id,unique_id,initContext)
|
262 |
app = chatbot_app.create_app()
|
263 |
app.launch(debug=True)
|