JaMe76 commited on
Commit
689e7d6
1 Parent(s): 2436752

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -177,7 +177,7 @@ def analyze_image(img, pdf, attributes):
177
  df = DataFromList(lst=[image])
178
  df = analyzer.analyze(dataset_dataflow=df)
179
  elif pdf:
180
- df = analyzer.analyze(path=pdf.name, max_datapoints=3)
181
  else:
182
  raise ValueError
183
 
 
177
  df = DataFromList(lst=[image])
178
  df = analyzer.analyze(dataset_dataflow=df)
179
  elif pdf:
180
+ df = analyzer.analyze(path=pdf.name, max_datapoints=3, output="image")
181
  else:
182
  raise ValueError
183