web widget

This commit is contained in:
Alex
2023-04-23 15:07:55 +01:00
parent d1f5ff4dba
commit 0c1a6a918d
11 changed files with 2030 additions and 1 deletions

View File

@@ -94,7 +94,7 @@ app.config['CELERY_BROKER_URL'] = os.getenv("CELERY_BROKER_URL")
app.config['CELERY_RESULT_BACKEND'] = os.getenv("CELERY_RESULT_BACKEND")
app.config['MONGO_URI'] = os.getenv("MONGO_URI")
celery = Celery()
celery.config_from_object(celeryconfig)
celery.config_from_object('celeryconfig')
mongo = MongoClient(app.config['MONGO_URI'])
db = mongo["docsgpt"]
vectors_collection = db["vectors"]