Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -626,7 +626,7 @@ Available: {match.get('Available', 'N/A')}"""
|
|
626 |
# This 'else' block is tied to the 'if model is not None and tokenizer is not None:' check much earlier in the function
|
627 |
# It seems correctly placed as a fallback if models didn't load at the start.
|
628 |
# Make sure the indentation aligns with that outer 'if'.
|
629 |
-
else: # Model or tokenizer not loaded
|
630 |
final_response = "Sorry, the core language model is not available."
|
631 |
print("Error: LLM model or tokenizer not loaded for Pass 2.")
|
632 |
|
|
|
626 |
# This 'else' block is tied to the 'if model is not None and tokenizer is not None:' check much earlier in the function
|
627 |
# It seems correctly placed as a fallback if models didn't load at the start.
|
628 |
# Make sure the indentation aligns with that outer 'if'.
|
629 |
+
else: # Model or tokenizer not loaded
|
630 |
final_response = "Sorry, the core language model is not available."
|
631 |
print("Error: LLM model or tokenizer not loaded for Pass 2.")
|
632 |
|