Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def predict_price_tool(arg1:str)-> float: #it's import to specify the return typ
|
|
14 |
Args:
|
15 |
arg1: the category of product
|
16 |
"""
|
17 |
-
filter_dataset = dataset['train']['Category']
|
18 |
#filter_dataset_min = filter_dataset['Selling Price'].min()
|
19 |
#filter_dataset_max = filter_dataset['Selling Price'].min()
|
20 |
return 1
|
|
|
14 |
Args:
|
15 |
arg1: the category of product
|
16 |
"""
|
17 |
+
filter_dataset = set(dataset['train']['Category'])
|
18 |
#filter_dataset_min = filter_dataset['Selling Price'].min()
|
19 |
#filter_dataset_max = filter_dataset['Selling Price'].min()
|
20 |
return 1
|