Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,11 +4,12 @@ from fastapi import FastAPI, Header, HTTPException
|
|
| 4 |
from pydantic import BaseModel
|
| 5 |
from typing import Optional
|
| 6 |
from supabase_ie import get_user_profile_by_username
|
| 7 |
-
|
| 8 |
|
| 9 |
from socrates_core import socrates_reply
|
| 10 |
from supabase_ie import get_user_profile_by_username # you may need to implement this
|
| 11 |
|
|
|
|
| 12 |
APP = FastAPI()
|
| 13 |
|
| 14 |
|
|
|
|
| 4 |
from pydantic import BaseModel
|
| 5 |
from typing import Optional
|
| 6 |
from supabase_ie import get_user_profile_by_username
|
| 7 |
+
import os
|
| 8 |
|
| 9 |
from socrates_core import socrates_reply
|
| 10 |
from supabase_ie import get_user_profile_by_username # you may need to implement this
|
| 11 |
|
| 12 |
+
SUPABASE_JWT_SECRET = os.environ["SUPABASE_JWT_SECRET"]
|
| 13 |
APP = FastAPI()
|
| 14 |
|
| 15 |
|