PierreHanna commited on
Commit
afd30f3
1 Parent(s): 2372848

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,7 +41,7 @@ def process(input_path):
41
  id_spotify = x['id']
42
  if id_spotify == -1:
43
  id_spotify = "No Spotify ID found."
44
- output_text = trackname+" by "+artistname + " - ISRC : " + isrc + " - spotify ID : " + id_spotify
45
 
46
  output_html = embed_html1 + id_spotify + embed_html2
47
 
@@ -53,7 +53,7 @@ def process(input_path):
53
 
54
  demo = gr.Interface(fn=process,
55
  inputs=gr.Audio(type="filepath"),
56
- outputs=[gr.outputs.Textbox(label="Generated Text"),"html"]
57
  #examples=example_list,
58
  #cache_examples=False
59
  )
 
41
  id_spotify = x['id']
42
  if id_spotify == -1:
43
  id_spotify = "No Spotify ID found."
44
+ output_text = trackname+" by "+artistname + " - ISRC : " + isrc #+ " - spotify ID : " + id_spotify
45
 
46
  output_html = embed_html1 + id_spotify + embed_html2
47
 
 
53
 
54
  demo = gr.Interface(fn=process,
55
  inputs=gr.Audio(type="filepath"),
56
+ outputs=[gr.outputs.Textbox(label="Identification"),"html"]
57
  #examples=example_list,
58
  #cache_examples=False
59
  )