Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,9 +21,15 @@ from pytube import YouTube
|
|
| 21 |
from psycopg2.extras import RealDictCursor
|
| 22 |
import redis
|
| 23 |
|
| 24 |
-
DATABASE_URL='postgres://default:LcAf9t8VFUgW@ep-steep-scene-a4pezmy7.us-east-1.aws.neon.tech:5432/verceldb?sslmode=require'
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
generation_config = {
|
| 29 |
"temperature": 1,
|
|
|
|
| 21 |
from psycopg2.extras import RealDictCursor
|
| 22 |
import redis
|
| 23 |
|
|
|
|
| 24 |
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
DATABASE_URL= os.environ.get("DATABASE")
|
| 28 |
+
|
| 29 |
+
GOOGLE_API_KEY = os.environ.get("TOKEN")
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
|
| 34 |
generation_config = {
|
| 35 |
"temperature": 1,
|