pachet commited on
Commit
6d6adf5
·
1 Parent(s): 9132b25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,11 +27,12 @@ def render_mei(mei_path):
27
  mei_data = f.read()
28
  # tk.loadFile("path-to-mei-file")
29
  # return tk.renderToSVG(1)
30
- print(verovio.__path__)
31
 
32
  try:
33
  tk.loadData(mei_data)
 
34
  res = tk.renderToSVG(1)
 
35
  return res
36
  except Exception as e:
37
  return f"<pre>Rendering failed:\n{e}</pre>"
 
27
  mei_data = f.read()
28
  # tk.loadFile("path-to-mei-file")
29
  # return tk.renderToSVG(1)
 
30
 
31
  try:
32
  tk.loadData(mei_data)
33
+ print("before rendering")
34
  res = tk.renderToSVG(1)
35
+ print("after rendering")
36
  return res
37
  except Exception as e:
38
  return f"<pre>Rendering failed:\n{e}</pre>"