Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def respond(
|
|
| 68 |
message: str,
|
| 69 |
history: List[Tuple[str, str]],
|
| 70 |
direction: str,
|
| 71 |
-
model: str = "
|
| 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 {
|
| 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}",
|