Beibars003 commited on
Commit
12cb373
·
verified ·
1 Parent(s): b00d3d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -92,6 +92,9 @@ def respond(
92
  str: The translated text as it is generated.
93
  """
94
 
 
 
 
95
  global llm, llm_model
96
  if llm is None or llm_model != model:
97
  model_path = f"models/{model}"
 
92
  str: The translated text as it is generated.
93
  """
94
 
95
+ if model is None:
96
+ model = "gemma_3_800M_sft_v2_translation-kazparc_latest.gguf"
97
+
98
  global llm, llm_model
99
  if llm is None or llm_model != model:
100
  model_path = f"models/{model}"