Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ app = FastAPI()
|
|
8 |
|
9 |
# NVIDIA API endpoint and API key
|
10 |
NVIDIA_API_URL = "https://ai.api.nvidia.com/v1/gr/meta/llama-3.2-90b-vision-instruct/chat/completions"
|
11 |
-
API_KEY = "
|
12 |
|
13 |
# Request model for text-based input
|
14 |
class TextRequest(BaseModel):
|
|
|
8 |
|
9 |
# NVIDIA API endpoint and API key
|
10 |
NVIDIA_API_URL = "https://ai.api.nvidia.com/v1/gr/meta/llama-3.2-90b-vision-instruct/chat/completions"
|
11 |
+
API_KEY = "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" # Replace with your actual API key
|
12 |
|
13 |
# Request model for text-based input
|
14 |
class TextRequest(BaseModel):
|