Rename yt_dip(個人版).py to app.py
Browse files- yt_dip(個人版).py → app.py +0 -3
yt_dip(個人版).py → app.py
RENAMED
@@ -3,9 +3,6 @@ import gradio as gr
|
|
3 |
import os
|
4 |
from glob import glob
|
5 |
|
6 |
-
# 安装库的操作在 Hugging Face Spaces 会在 requirements.txt 中处理,这里不再需要
|
7 |
-
# requirements.txt 内容应包括 yt-dlp 和 gradio
|
8 |
-
|
9 |
def convert_time_to_seconds(time_str):
|
10 |
hours, minutes, seconds = map(int, time_str.split(':'))
|
11 |
return hours * 3600 + minutes * 60 + seconds
|
|
|
3 |
import os
|
4 |
from glob import glob
|
5 |
|
|
|
|
|
|
|
6 |
def convert_time_to_seconds(time_str):
|
7 |
hours, minutes, seconds = map(int, time_str.split(':'))
|
8 |
return hours * 3600 + minutes * 60 + seconds
|