C2MV commited on
Commit
73405d7
verified
1 Parent(s): 9094c59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -34,13 +34,8 @@ os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
34
  #client = anthropic.Anthropic()
35
 
36
  # Inicializar cliente Nebius
37
- import os
38
  from openai import OpenAI
39
-
40
- client = OpenAI(
41
- base_url="https://api.studio.nebius.com/v1/",
42
- api_key=os.environ.get("NEBIUS_API_KEY")
43
- )
44
 
45
  # Sistema de traducci贸n - Actualizado con nuevas entradas
46
  TRANSLATIONS = {
 
34
  #client = anthropic.Anthropic()
35
 
36
  # Inicializar cliente Nebius
 
37
  from openai import OpenAI
38
+ client = OpenAI(api_key=os.getenv("NEBIUS_API_KEY"))
 
 
 
 
39
 
40
  # Sistema de traducci贸n - Actualizado con nuevas entradas
41
  TRANSLATIONS = {