Kukedlc commited on
Commit
c2ea2f2
1 Parent(s): fafa4d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -14,9 +14,12 @@ MODEL_ID = "Qwen/Qwen2.5-Coder-7B-Instruct"
14
  CHAT_TEMPLATE = "ChatML"
15
  MODEL_NAME = MODEL_ID.split("/")[-1]
16
  CONTEXT_LENGTH = 16000
17
- COLOR = os.environ.get("COLOR")
18
- EMOJI = os.environ.get("EMOJI")
19
- DESCRIPTION = os.environ.get("DESCRIPTION")
 
 
 
20
 
21
 
22
  @spaces.GPU()
 
14
  CHAT_TEMPLATE = "ChatML"
15
  MODEL_NAME = MODEL_ID.split("/")[-1]
16
  CONTEXT_LENGTH = 16000
17
+
18
+ # Estableciendo valores directamente para las variables
19
+ COLOR = "blue" # Color predeterminado de la interfaz
20
+ EMOJI = "🤖" # Emoji predeterminado para el modelo
21
+ DESCRIPTION = f"This is the {MODEL_NAME} model designed for coding assistance and general AI tasks." # Descripción predeterminada
22
+
23
 
24
 
25
  @spaces.GPU()