Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,9 @@ try:
|
|
| 26 |
response = client.text_generation("Hello, how are you?", max_new_tokens=50)
|
| 27 |
print("✅ Model response:", response)
|
| 28 |
except Exception as e:
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
class WikipediaSearchTool(Tool):
|
|
|
|
| 26 |
response = client.text_generation("Hello, how are you?", max_new_tokens=50)
|
| 27 |
print("✅ Model response:", response)
|
| 28 |
except Exception as e:
|
| 29 |
+
import traceback
|
| 30 |
+
print("❌ Direct call error:", repr(e))
|
| 31 |
+
traceback.print_exc()
|
| 32 |
|
| 33 |
|
| 34 |
class WikipediaSearchTool(Tool):
|