Update app.py
Browse files
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 = "
|
| 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}",
|