Update extract_insights.py
Browse files- extract_insights.py +1 -1
extract_insights.py
CHANGED
|
@@ -15,7 +15,7 @@ app = FastAPI()
|
|
| 15 |
client = Client(api_key=os.getenv('OPENAI_API_KEY'),organization=os.getenv('ORG_ID'))
|
| 16 |
url: str = os.getenv('SUPABASE_URL')
|
| 17 |
key: str = os.getenv('SUPABASE_KEY')
|
| 18 |
-
supabase
|
| 19 |
|
| 20 |
|
| 21 |
# @app.post("/send/synchronous_processing")
|
|
|
|
| 15 |
client = Client(api_key=os.getenv('OPENAI_API_KEY'),organization=os.getenv('ORG_ID'))
|
| 16 |
url: str = os.getenv('SUPABASE_URL')
|
| 17 |
key: str = os.getenv('SUPABASE_KEY')
|
| 18 |
+
supabase = create_client(url, key)
|
| 19 |
|
| 20 |
|
| 21 |
# @app.post("/send/synchronous_processing")
|