Spaces:
Running
Running
DebasishDhal99
commited on
Commit
•
ceb9108
1
Parent(s):
3bc1bd0
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ def playlist_mismatch_calculator(playlist_link_1, playlist_link_2):
|
|
43 |
result = playlists_mismatch_func(playlist_link_1, playlist_link_2, output='name')
|
44 |
playlist1name = result[2]
|
45 |
playlist2name = result[3]
|
46 |
-
text = 'Present in {}, not in {} :- \n
|
47 |
-
return f"Mismatch Result between the two playlists are as follows: -\n {text}"
|
48 |
|
49 |
playlist_link_1_input = gr.inputs.Textbox(label="Playlist Link 1")
|
50 |
playlist_link_2_input = gr.inputs.Textbox(label="Playlist Link 2")
|
|
|
43 |
result = playlists_mismatch_func(playlist_link_1, playlist_link_2, output='name')
|
44 |
playlist1name = result[2]
|
45 |
playlist2name = result[3]
|
46 |
+
text = 'Present in {}, not in {} :- \n{} \n \nPresent in {}, not in {} :-\n {}'.format(result[2],result[3], result[0], result[3], result[2], result[1])
|
47 |
+
return f"Mismatch Result between the two playlists are as follows: -\n\n {text}"
|
48 |
|
49 |
playlist_link_1_input = gr.inputs.Textbox(label="Playlist Link 1")
|
50 |
playlist_link_2_input = gr.inputs.Textbox(label="Playlist Link 2")
|