Fred808 commited on
Commit
f74b029
·
verified ·
1 Parent(s): 12e1af5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "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" # Replace securely in production
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"