Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ class IntelligentAgent:
|
|
| 48 |
print(f"Chat completion failed: {chat_error}, trying text generation...")
|
| 49 |
|
| 50 |
# Fallback to text generation
|
| 51 |
-
response = self.client.
|
| 52 |
prompt,
|
| 53 |
max_new_tokens=max_tokens,
|
| 54 |
temperature=temperature,
|
|
|
|
| 48 |
print(f"Chat completion failed: {chat_error}, trying text generation...")
|
| 49 |
|
| 50 |
# Fallback to text generation
|
| 51 |
+
response = self.client.conversational(
|
| 52 |
prompt,
|
| 53 |
max_new_tokens=max_tokens,
|
| 54 |
temperature=temperature,
|