786avinash commited on
Commit
58681d1
·
verified ·
1 Parent(s): 818e378

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ model = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-base")
8
  processor = AutoProcessor.from_pretrained("Salesforce/blip-vqa-base")
9
 
10
  # Set your OpenAI API key
11
- openai.api_key = "your_openai_api_key_here" # Replace with your OpenAI API key
12
 
13
  # Function to generate the initial answer with BLIP and expand it with OpenAI API
14
  def qna(image, question):
 
8
  processor = AutoProcessor.from_pretrained("Salesforce/blip-vqa-base")
9
 
10
  # Set your OpenAI API key
11
+ openai.api_key = "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" # Replace with your OpenAI API key
12
 
13
  # Function to generate the initial answer with BLIP and expand it with OpenAI API
14
  def qna(image, question):