Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,10 @@ palm.configure(api_key=os.environ['PALM_KEY'])
|
|
12 |
|
13 |
# candlab= ["recharge coins or get subscription", "show list of my friends"]
|
14 |
|
15 |
-
|
16 |
|
17 |
def responsenew(data):
|
|
|
18 |
response = palm.chat(messages=data)
|
19 |
# user_intent = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
|
20 |
if "payment" in response.last:
|
|
|
12 |
|
13 |
# candlab= ["recharge coins or get subscription", "show list of my friends"]
|
14 |
|
15 |
+
|
16 |
|
17 |
def responsenew(data):
|
18 |
+
print(data["message"])
|
19 |
response = palm.chat(messages=data)
|
20 |
# user_intent = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
|
21 |
if "payment" in response.last:
|