yangheng commited on
Commit
73552c9
1 Parent(s): e4533e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(example=text,
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({