Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def get_matches(text_query):
|
|
50 |
print(f"https://www.youtube.com/embed/{video_id}")
|
51 |
song_name = filename.rsplit('.', 1)
|
52 |
# Create iframe for YouTube video
|
53 |
-
output += f'{song_name}: <a href="{url}">{url}</a>\n\n'
|
54 |
#output += f'<iframe width="560" height="315" src="https://www.youtube.com/embed/{video_id}" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>\n\n'
|
55 |
#else:
|
56 |
# Use regular link for non-YouTube URLs
|
|
|
50 |
print(f"https://www.youtube.com/embed/{video_id}")
|
51 |
song_name = filename.rsplit('.', 1)
|
52 |
# Create iframe for YouTube video
|
53 |
+
output += f'{song_name[0]}: <a href="{url}">{url}</a>\n\n'
|
54 |
#output += f'<iframe width="560" height="315" src="https://www.youtube.com/embed/{video_id}" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>\n\n'
|
55 |
#else:
|
56 |
# Use regular link for non-YouTube URLs
|