asigalov61 commited on
Commit
0b971da
·
verified ·
1 Parent(s): 041fb15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -59,7 +59,12 @@ def classify_lyrics(lyric):
59
  print('Search match ratio:', sorted_texts_match_ratios[0])
60
  print('Found title/artist and genre:',result[0], "---", result[1])
61
  print('=' * 70)
62
-
 
 
 
 
 
63
  return sorted_texts_match_ratios[0], result[0], result[1]
64
 
65
  demo = gr.Interface(
 
59
  print('Search match ratio:', sorted_texts_match_ratios[0])
60
  print('Found title/artist and genre:',result[0], "---", result[1])
61
  print('=' * 70)
62
+
63
+ print('Req end time: {:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now(PDT)))
64
+ print('-' * 70)
65
+ print('Req execution time:', (time.time() - start_time), 'sec')
66
+ print('=' * 70)
67
+
68
  return sorted_texts_match_ratios[0], result[0], result[1]
69
 
70
  demo = gr.Interface(