Spaces:
Running
Running
DebasishDhal99
commited on
Commit
•
2aa172f
1
Parent(s):
c566a8c
Separating the lines
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def playlist_mismatch_calculator(playlist_link_1, playlist_link_2, output_option
|
|
43 |
result = playlists_mismatch_func(playlist_link_1, playlist_link_2, output_options)
|
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")
|
|
|
43 |
result = playlists_mismatch_func(playlist_link_1, playlist_link_2, output_options)
|
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], '\n'.join(result[0]), result[3], result[2], '\n'.join(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")
|