Asya2025 commited on
Commit
98afaa0
·
verified ·
1 Parent(s): 4675204

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,7 +6,8 @@ import gradio as gr
6
  API_URL = "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-VL2-Small"
7
 
8
  # Получаем токен из переменной окружения
9
- API_TOKEN = os.getenv("My_token")
 
10
 
11
  # Заголовки запроса
12
  headers = {
 
6
  API_URL = "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-VL2-Small"
7
 
8
  # Получаем токен из переменной окружения
9
+ API_TOKEN = os.getenv("My_token").strip()
10
+
11
 
12
  # Заголовки запроса
13
  headers = {