Spaces:
Sleeping
Sleeping
locorene1000
commited on
app.py
CHANGED
@@ -2,11 +2,9 @@ from openai import OpenAI
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Configuraci贸n del cliente OpenAI con la API de NVIDIA
|
5 |
-
API_KEY = "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"
|
6 |
-
|
7 |
client = OpenAI(
|
8 |
-
|
9 |
-
|
10 |
)
|
11 |
|
12 |
# Instrucciones para el modelo
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Configuraci贸n del cliente OpenAI con la API de NVIDIA
|
|
|
|
|
5 |
client = OpenAI(
|
6 |
+
base_url = "https://integrate.api.nvidia.com/v1",
|
7 |
+
api_key = "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"
|
8 |
)
|
9 |
|
10 |
# Instrucciones para el modelo
|