Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def get_price_tool(arg1:str)-> float: #it's import to specify the return type
|
|
| 15 |
arg1: the category of product
|
| 16 |
"""
|
| 17 |
#filter_dataset = set(dataset['train']['Category'])
|
| 18 |
-
|
| 19 |
|
| 20 |
responses = dataset[dataset['Product Name'].str.contains(arg1)]
|
| 21 |
print(responses)
|
|
|
|
| 15 |
arg1: the category of product
|
| 16 |
"""
|
| 17 |
#filter_dataset = set(dataset['train']['Category'])
|
| 18 |
+
print(type(dataset), type(dataset['Product Name']))
|
| 19 |
|
| 20 |
responses = dataset[dataset['Product Name'].str.contains(arg1)]
|
| 21 |
print(responses)
|