tatianija commited on
Commit
02c1d91
·
verified ·
1 Parent(s): 7d282dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.text_generation(
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,