Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ class BasicAgent:
|
|
| 48 |
)
|
| 49 |
#test
|
| 50 |
try:
|
| 51 |
-
response =
|
| 52 |
print("✅ Model response:", response)
|
| 53 |
except Exception as e:
|
| 54 |
print("❌ Direct call error:", e)
|
|
|
|
| 48 |
)
|
| 49 |
#test
|
| 50 |
try:
|
| 51 |
+
response = llm.text_generation("Hello, how are you?", max_new_tokens=50)
|
| 52 |
print("✅ Model response:", response)
|
| 53 |
except Exception as e:
|
| 54 |
print("❌ Direct call error:", e)
|