tatianija commited on
Commit
614d25d
·
verified ·
1 Parent(s): c5b02db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -63,7 +63,7 @@ Example responses:
63
  """
64
 
65
  try:
66
- response = self.client.text_generation(
67
  decision_prompt,
68
  max_new_tokens=50,
69
  temperature=0.1,
@@ -95,7 +95,7 @@ Question: {question}
95
  Answer:"""
96
 
97
  try:
98
- response = self.client.text_generation(
99
  answer_prompt,
100
  max_new_tokens=500,
101
  temperature=0.3,
@@ -161,7 +161,7 @@ Based on the search results above, provide an answer to the question. If the sea
161
  Answer:"""
162
 
163
  try:
164
- response = self.client.text_generation(
165
  answer_prompt,
166
  max_new_tokens=600,
167
  temperature=0.3,
 
63
  """
64
 
65
  try:
66
+ response = self.client.conversational(
67
  decision_prompt,
68
  max_new_tokens=50,
69
  temperature=0.1,
 
95
  Answer:"""
96
 
97
  try:
98
+ response = self.client.conversational(
99
  answer_prompt,
100
  max_new_tokens=500,
101
  temperature=0.3,
 
161
  Answer:"""
162
 
163
  try:
164
+ response = self.client.conversational(
165
  answer_prompt,
166
  max_new_tokens=600,
167
  temperature=0.3,