asigalov61
commited on
Update app.py
Browse files
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(
|