liyaoshi commited on
Commit
3a00add
1 Parent(s): 867f582

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('supabase_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
 
 
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