Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ app = FastAPI()
|
|
| 9 |
|
| 10 |
# New NVIDIA API endpoint and API key (adjust for the new model)
|
| 11 |
NVIDIA_API_URL = "https://ai.api.nvidia.com/v1/gr/meta/llama-3.1-nemotron-nano-vl-8b-v1/chat/completions"
|
| 12 |
-
API_KEY = "nvapi-
|
| 13 |
|
| 14 |
class ChatMessage(BaseModel):
|
| 15 |
role: str # "user", "assistant", or "system"
|
|
|
|
| 9 |
|
| 10 |
# New NVIDIA API endpoint and API key (adjust for the new model)
|
| 11 |
NVIDIA_API_URL = "https://ai.api.nvidia.com/v1/gr/meta/llama-3.1-nemotron-nano-vl-8b-v1/chat/completions"
|
| 12 |
+
API_KEY = "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" # Replace securely in production
|
| 13 |
|
| 14 |
class ChatMessage(BaseModel):
|
| 15 |
role: str # "user", "assistant", or "system"
|