Beibars003 commited on
Commit
80757d7
·
verified ·
1 Parent(s): 8bba5e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,7 +68,7 @@ def respond(
68
  message: str,
69
  history: List[Tuple[str, str]],
70
  direction: str,
71
- model: str = "/models/gemma_3_800M_sft_v2_translation-kazparc_latest.gguf",
72
  max_tokens: int = 64,
73
  temperature: float = 0.7,
74
  top_p: float = 0.95,
@@ -102,7 +102,7 @@ def respond(
102
  if llm is None or llm_model != model:
103
  model_path = f"models/{model}"
104
  if not os.path.exists(model_path):
105
- yield f"Error: Model file not found at {model_path}. SUIIIIIIII ankara messi"
106
  return
107
  llm = Llama(
108
  model_path=f"models/{model}",
 
68
  message: str,
69
  history: List[Tuple[str, str]],
70
  direction: str,
71
+ model: str = "gemma_3_800M_sft_v2_translation-kazparc_latest.gguf",
72
  max_tokens: int = 64,
73
  temperature: float = 0.7,
74
  top_p: float = 0.95,
 
102
  if llm is None or llm_model != model:
103
  model_path = f"models/{model}"
104
  if not os.path.exists(model_path):
105
+ yield f"Error: Model file not found at {model}. SUIIIIIIII ankara messi"
106
  return
107
  llm = Llama(
108
  model_path=f"models/{model}",