Spaces:
Runtime error
Runtime error
Commit
•
f1a824b
1
Parent(s):
79b8d43
Update app.py
Browse files
app.py
CHANGED
@@ -3,14 +3,11 @@ import time
|
|
3 |
import json
|
4 |
import os
|
5 |
import gradio as gr
|
|
|
6 |
|
7 |
SIMBALS_GLOBAL_DB = 1
|
8 |
SIMBALS_MAIN_DATABASE = 2
|
9 |
|
10 |
-
from pytube import YouTube
|
11 |
-
|
12 |
-
embed_html = '<iframe width="560" height="315" src="https://www.youtube.com/embed/EngW7tLk6R8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
|
13 |
-
|
14 |
embed_html1 = '<iframe width="560" height="315" src="https://www.youtube.com/embed/'
|
15 |
embed_html2 = '" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
|
16 |
|
|
|
3 |
import json
|
4 |
import os
|
5 |
import gradio as gr
|
6 |
+
from pytube import YouTube
|
7 |
|
8 |
SIMBALS_GLOBAL_DB = 1
|
9 |
SIMBALS_MAIN_DATABASE = 2
|
10 |
|
|
|
|
|
|
|
|
|
11 |
embed_html1 = '<iframe width="560" height="315" src="https://www.youtube.com/embed/'
|
12 |
embed_html2 = '" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
|
13 |
|