Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def perform_inference(text, dataset):
|
|
38 |
if not text:
|
39 |
text = dataset_dict[dataset][random.randint(0, len(dataset_dict[dataset]) - 1)]
|
40 |
|
41 |
-
result = aspect_extractor.predict(
|
42 |
pred_sentiment=True)
|
43 |
|
44 |
result = pd.DataFrame({
|
|
|
38 |
if not text:
|
39 |
text = dataset_dict[dataset][random.randint(0, len(dataset_dict[dataset]) - 1)]
|
40 |
|
41 |
+
result = aspect_extractor.predict(text,
|
42 |
pred_sentiment=True)
|
43 |
|
44 |
result = pd.DataFrame({
|