Spaces:
Paused
Paused
update
Browse files
data/porter_tasks/porter_task_chenjing_douyin_live_record_to_youtube.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"enable": true,
|
| 4 |
+
"type": "douyin_live_record",
|
| 5 |
+
"room_name": "大成说创业",
|
| 6 |
+
"room_id": "29576618707",
|
| 7 |
+
"check_interval": 10,
|
| 8 |
+
"output_video_dir": "data/tasks/chenjing_douyin_live_record_to_youtube/live_record/",
|
| 9 |
+
"output_video_info_file": "data/tasks/chenjing_douyin_live_record_to_youtube/live_record/清华陈晶/file_info.json"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"enable": true,
|
| 13 |
+
"type": "video_to_youtube",
|
| 14 |
+
"video_group": "清华陈晶",
|
| 15 |
+
"target_channel_title": "清华陈晶",
|
| 16 |
+
"target_channel_id": "UCBR8-60-B28hp2BmDPdntcQ",
|
| 17 |
+
"key_of_credentials": "youtube_chenjing_credentials",
|
| 18 |
+
"check_interval": 300,
|
| 19 |
+
"video_info_file": "data/tasks/chenjing_douyin_live_record_to_youtube/live_record/清华陈晶/file_info.json",
|
| 20 |
+
"remove_after_upload": true,
|
| 21 |
+
"remove_after_upload_delay": 1,
|
| 22 |
+
"min_date2": "2025-09-06 00:00:00"
|
| 23 |
+
}
|
| 24 |
+
]
|
tabs/fs_tab.py
CHANGED
|
@@ -11,7 +11,7 @@ def get_fs_tab():
|
|
| 11 |
with gr.Column(scale=3):
|
| 12 |
fs_filename = gr.Textbox(label="filename", max_lines=10)
|
| 13 |
fs_file = gr.File(label="file")
|
| 14 |
-
fs_file_dir = gr.Textbox(value="data", label="file_dir")
|
| 15 |
fs_query = gr.Button("query", variant="primary")
|
| 16 |
with gr.Column(scale=7):
|
| 17 |
fs_filelist_dataset_state = gr.State(value=[])
|
|
|
|
| 11 |
with gr.Column(scale=3):
|
| 12 |
fs_filename = gr.Textbox(label="filename", max_lines=10)
|
| 13 |
fs_file = gr.File(label="file")
|
| 14 |
+
fs_file_dir = gr.Textbox(value="data/tasks", label="file_dir")
|
| 15 |
fs_query = gr.Button("query", variant="primary")
|
| 16 |
with gr.Column(scale=7):
|
| 17 |
fs_filelist_dataset_state = gr.State(value=[])
|