helloWorld199 commited on
Commit
e5f191a
1 Parent(s): fcf6dd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -10
app.py CHANGED
@@ -48,17 +48,15 @@ def analyze(path):
48
  #Measure time for inference
49
  start = time.time()
50
 
51
- try:
52
- path = Path(path)
53
- result, stems_paths = allin1.analyze(
54
- path,
55
- out_dir='./struct',
56
- multiprocess=False,
57
- keep_byproducts=True, # TODO: remove this
58
- )
59
- except error:
60
- print(error)
61
 
 
 
 
 
 
 
 
 
62
  #stems_paths_string =""
63
  #for stem in stems_paths:
64
  # stems_paths_string += stem + '\n'
 
48
  #Measure time for inference
49
  start = time.time()
50
 
 
 
 
 
 
 
 
 
 
 
51
 
52
+ path = Path(path)
53
+ result, stems_paths = allin1.analyze(
54
+ path,
55
+ out_dir='./struct',
56
+ multiprocess=False,
57
+ keep_byproducts=True, # TODO: remove this
58
+ )
59
+ print(stems_paths)
60
  #stems_paths_string =""
61
  #for stem in stems_paths:
62
  # stems_paths_string += stem + '\n'