Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ palm.configure(api_key=os.environ['PALM_KEY'])
|
|
| 15 |
|
| 16 |
|
| 17 |
def responsenew(data):
|
| 18 |
-
print(data[
|
| 19 |
response = palm.chat(messages=data)
|
| 20 |
# user_intent = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
|
| 21 |
if "payment" in response.last:
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
def responsenew(data):
|
| 18 |
+
print(data[0])
|
| 19 |
response = palm.chat(messages=data)
|
| 20 |
# user_intent = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
|
| 21 |
if "payment" in response.last:
|