akhaliq HF staff commited on
Commit
107ce09
·
1 Parent(s): c44529f
Files changed (1) hide show
  1. app_mistral_coder.py +2 -2
app_mistral_coder.py CHANGED
@@ -10,7 +10,7 @@ MISTRAL_MODELS_DISPLAY = [k.replace("mistral:", "") for k in MISTRAL_MODELS_FULL
10
 
11
 
12
  # Create and launch the interface using get_app utility
13
- demo2 = get_app(
14
  models=MISTRAL_MODELS_FULL, # Use the full names with prefix
15
  default_model=MISTRAL_MODELS_FULL[5],
16
  dropdown_label="Select Mistral Model",
@@ -20,4 +20,4 @@ demo2 = get_app(
20
  )
21
 
22
  if __name__ == "__main__":
23
- demo2.launch()
 
10
 
11
 
12
  # Create and launch the interface using get_app utility
13
+ demo = get_app(
14
  models=MISTRAL_MODELS_FULL, # Use the full names with prefix
15
  default_model=MISTRAL_MODELS_FULL[5],
16
  dropdown_label="Select Mistral Model",
 
20
  )
21
 
22
  if __name__ == "__main__":
23
+ demo.launch()