adil9858 commited on
Commit
3a7790d
·
verified ·
1 Parent(s): 54d32e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def encode_image(img):
14
  # Function to interact with the Hyperbolic API
15
  def get_api_response(base64_img):
16
  api_url = "https://api.hyperbolic.xyz/v1/chat/completions"
17
- api_key = "YOUR_API_KEY" # Replace with your actual API key
18
  headers = {
19
  "Content-Type": "application/json",
20
  "Authorization": f"Bearer {api_key}",
 
14
  # Function to interact with the Hyperbolic API
15
  def get_api_response(base64_img):
16
  api_url = "https://api.hyperbolic.xyz/v1/chat/completions"
17
+ api_key = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZGlsYXppejIwMTNAZ21haWwuY29tIiwiaWF0IjoxNzMyODU1NDI1fQ.lRjbz9LMW9jj7Lf7I8m_dTRh4KQ1wDCdWiTRGErMuEk" # Replace with your actual API key
18
  headers = {
19
  "Content-Type": "application/json",
20
  "Authorization": f"Bearer {api_key}",