Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def backup_tiktok(url):
|
|
17 |
|
18 |
# Validate URL
|
19 |
if "tiktok.com" not in url.lower():
|
20 |
-
return "Please provide a valid TikTok URL (must contain 'tiktok.com')."
|
21 |
|
22 |
# Create a unique temporary folder
|
23 |
download_id = str(uuid.uuid4())
|
@@ -52,7 +52,7 @@ def backup_tiktok(url):
|
|
52 |
|
53 |
|
54 |
with gr.Blocks() as demo:
|
55 |
-
gr.Markdown("# TikTok Backup\n\nEnter a TikTok URL to download the video(s).")
|
56 |
|
57 |
with gr.Row():
|
58 |
url_input = gr.Textbox(label="TikTok URL", placeholder="https://www.tiktok.com/@username/video/...")
|
|
|
17 |
|
18 |
# Validate URL
|
19 |
if "tiktok.com" not in url.lower():
|
20 |
+
return "Please provide a valid TikTok Account or Video URL (must contain 'tiktok.com')."
|
21 |
|
22 |
# Create a unique temporary folder
|
23 |
download_id = str(uuid.uuid4())
|
|
|
52 |
|
53 |
|
54 |
with gr.Blocks() as demo:
|
55 |
+
gr.Markdown("# TikTok Account/Video Backup\n\nEnter a TikTok Account or Video URL to download the video(s).")
|
56 |
|
57 |
with gr.Row():
|
58 |
url_input = gr.Textbox(label="TikTok URL", placeholder="https://www.tiktok.com/@username/video/...")
|