Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def is_image(file_path):
|
|
49 |
def supbase_insert(user_message,response_content,messages,response):
|
50 |
from supabase import create_client, Client
|
51 |
url = os.environ.get('supabase_url')
|
52 |
-
key = os.environ.get('
|
53 |
supabase = create_client(url, key)
|
54 |
data, count = supabase.table('messages').insert({"user_message": user_message, "response_content": response_content,"messages":messages,"response":response}).execute()
|
55 |
|
|
|
49 |
def supbase_insert(user_message,response_content,messages,response):
|
50 |
from supabase import create_client, Client
|
51 |
url = os.environ.get('supabase_url')
|
52 |
+
key = os.environ.get('supbase_key')
|
53 |
supabase = create_client(url, key)
|
54 |
data, count = supabase.table('messages').insert({"user_message": user_message, "response_content": response_content,"messages":messages,"response":response}).execute()
|
55 |
|