locorene1000 commited on
Commit
aeb050a
1 Parent(s): b62f5fe
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -3,8 +3,10 @@ import json
3
  import gradio as gr
4
 
5
  # Configuración de la API de NVIDIA
6
- base_url = "https://integrate.api.nvidia.com/v1"
7
- api_key = "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"
 
 
8
  headers = {
9
  "Authorization": f"Bearer {api_key}",
10
  "Content-Type": "application/json",
 
3
  import gradio as gr
4
 
5
  # Configuración de la API de NVIDIA
6
+ client = OpenAI(
7
+ base_url = "https://integrate.api.nvidia.com/v1",
8
+ api_key = "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"
9
+ )
10
  headers = {
11
  "Authorization": f"Bearer {api_key}",
12
  "Content-Type": "application/json",