nikravan commited on
Commit
2d44604
verified
1 Parent(s): f9d021c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,9 +16,9 @@ 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 testing thinking for general AI tasks." # Descripci贸n predeterminada
22
 
23
  latex_delimiters_set = [{
24
  "left": "\\(",
@@ -116,7 +116,7 @@ gr.ChatInterface(
116
 
117
  additional_inputs_accordion=gr.Accordion(label="鈿欙笍 Parameters", open=False),
118
  additional_inputs=[
119
- gr.Textbox("You are a code assistant.", label="System prompt"),
120
  gr.Slider(0, 1, 0.3, label="Temperature"),
121
  gr.Slider(128, 4096, 1024, label="Max new tokens"),
122
  gr.Slider(1, 80, 40, label="Top K sampling"),
 
16
  CONTEXT_LENGTH = 16000
17
 
18
  # Estableciendo valores directamente para las variables
19
+ COLOR = "black" # Color predeterminado de la interfaz
20
  EMOJI = "馃" # Emoji predeterminado para el modelo
21
+ DESCRIPTION = f"This is 4bit quntized {MODEL_NAME} model with BnB and designed for testing thinking for general AI tasks." # Descripci贸n predeterminada
22
 
23
  latex_delimiters_set = [{
24
  "left": "\\(",
 
116
 
117
  additional_inputs_accordion=gr.Accordion(label="鈿欙笍 Parameters", open=False),
118
  additional_inputs=[
119
+ gr.Textbox("You are a useful assistant. first recognize user language and then reply based on his language", label="System prompt"),
120
  gr.Slider(0, 1, 0.3, label="Temperature"),
121
  gr.Slider(128, 4096, 1024, label="Max new tokens"),
122
  gr.Slider(1, 80, 40, label="Top K sampling"),