liyaoshi commited on
Commit
0bc3f8c
·
verified ·
1 Parent(s): 1a21920

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,7 +41,7 @@ def upload_image_to_gcs_blob(image):
41
 
42
  return public_url
43
 
44
-
45
  def get_supabase_client():
46
  url = os.environ.get('supabase_url')
47
  key = os.environ.get('supbase_key')
@@ -122,7 +122,7 @@ def ask_image(text,image,api_token=openai_api_key):
122
 
123
  # gradio demo
124
 
125
- title = "Ask Image"
126
  description = "Ask anything about your Image with GPT-4o"
127
 
128
  demo = gr.Interface(
 
41
 
42
  return public_url
43
 
44
+ from supabase import create_client, Client
45
  def get_supabase_client():
46
  url = os.environ.get('supabase_url')
47
  key = os.environ.get('supbase_key')
 
122
 
123
  # gradio demo
124
 
125
+ title = "Ask Image with GPT-4o"
126
  description = "Ask anything about your Image with GPT-4o"
127
 
128
  demo = gr.Interface(