Spaces:
Sleeping
Sleeping
Commit
·
3ee5eed
1
Parent(s):
ab871b4
Import fix
Browse files- Functions/auth_functions.py +2 -2
- Functions/video_player_functions.py +1 -1
- app.py +3 -3
Functions/auth_functions.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
from
|
| 2 |
import hashlib
|
| 3 |
-
from
|
| 4 |
|
| 5 |
|
| 6 |
def encrypt(password):
|
|
|
|
| 1 |
+
from Resources.salt import salt
|
| 2 |
import hashlib
|
| 3 |
+
from db_connection import users_ref, get_user_ref
|
| 4 |
|
| 5 |
|
| 6 |
def encrypt(password):
|
Functions/video_player_functions.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import re
|
| 2 |
-
from
|
| 3 |
|
| 4 |
|
| 5 |
def youtube_link_to_id(link):
|
|
|
|
| 1 |
import re
|
| 2 |
+
from db_connection import videos_ref
|
| 3 |
|
| 4 |
|
| 5 |
def youtube_link_to_id(link):
|
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
from
|
| 3 |
-
from
|
| 4 |
-
from
|
| 5 |
|
| 6 |
next_video_pointer = 0
|
| 7 |
user = ""
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from Functions.video_player_functions import youtube_link_to_id, get_video_embed_by_id, get_video_link_by_pointer
|
| 3 |
+
from Functions.caption_editor_functions import get_captions_by_video_id, save_dataframe
|
| 4 |
+
from Resources.css import css
|
| 5 |
|
| 6 |
next_video_pointer = 0
|
| 7 |
user = ""
|