Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ palm.configure(api_key=os.environ['PALM_KEY'])
|
|
| 14 |
|
| 15 |
def responsenew(data):
|
| 16 |
print(data)
|
| 17 |
-
response = palm.chat(
|
| 18 |
intent = palm.chat(messages=f"""From the text given as data below by the user, find out what intention or category does the data fall under out of given 5 intents i.e:\n
|
| 19 |
1. purchasing coins\n
|
| 20 |
2. viewing friends list\n
|
|
|
|
| 14 |
|
| 15 |
def responsenew(data):
|
| 16 |
print(data)
|
| 17 |
+
response = palm.chat(messages=data)
|
| 18 |
intent = palm.chat(messages=f"""From the text given as data below by the user, find out what intention or category does the data fall under out of given 5 intents i.e:\n
|
| 19 |
1. purchasing coins\n
|
| 20 |
2. viewing friends list\n
|