Update model_evaluation.py
Browse files- model_evaluation.py +1 -1
model_evaluation.py
CHANGED
@@ -20,7 +20,7 @@ try:
|
|
20 |
gpt_model = pipeline("text-generation", model=gpt2_model_name)
|
21 |
print("Models loaded successfully.")
|
22 |
except Exception as e:
|
23 |
-
print(
|
24 |
|
25 |
def load_and_preprocess_text(filename):
|
26 |
"""
|
|
|
20 |
gpt_model = pipeline("text-generation", model=gpt2_model_name)
|
21 |
print("Models loaded successfully.")
|
22 |
except Exception as e:
|
23 |
+
print("Failed to load models:{e}")
|
24 |
|
25 |
def load_and_preprocess_text(filename):
|
26 |
"""
|