Spaces:
Sleeping
Sleeping
final try 62
Browse files- app/api.py +2 -0
app/api.py
CHANGED
|
@@ -18,6 +18,8 @@ from fastapi.templating import Jinja2Templates
|
|
| 18 |
# TODO: optionally implement DocHandler
|
| 19 |
|
| 20 |
print(3333333333333333333333333333333333333333333333333333)
|
|
|
|
|
|
|
| 21 |
api = FastAPI()
|
| 22 |
rag = None
|
| 23 |
api.mount("/pdfs", StaticFiles(directory=os.path.join(base_path, "temp_storage", "pdfs")), name="pdfs")
|
|
|
|
| 18 |
# TODO: optionally implement DocHandler
|
| 19 |
|
| 20 |
print(3333333333333333333333333333333333333333333333333333)
|
| 21 |
+
print(os.environ['DATABASE_URL'])
|
| 22 |
+
print(os.environ['GEMINI_API_KEY'])
|
| 23 |
api = FastAPI()
|
| 24 |
rag = None
|
| 25 |
api.mount("/pdfs", StaticFiles(directory=os.path.join(base_path, "temp_storage", "pdfs")), name="pdfs")
|