reorg
Browse files- .gitignore +1 -7
- README.md +0 -12
- app.py → apps/producer.py +3 -3
.gitignore
CHANGED
@@ -1,11 +1,5 @@
|
|
1 |
-
|
2 |
-
autogenerated-transcript.md
|
3 |
-
output/transcripts/
|
4 |
-
output/transcripts/.cache/
|
5 |
__pycache__/
|
6 |
*/__pycache__/
|
7 |
-
output/
|
8 |
.DS_Store
|
9 |
*.pyc
|
10 |
-
utils/__pycache__/
|
11 |
-
scripts/__pycache__/
|
|
|
1 |
+
output/
|
|
|
|
|
|
|
2 |
__pycache__/
|
3 |
*/__pycache__/
|
|
|
4 |
.DS_Store
|
5 |
*.pyc
|
|
|
|
README.md
CHANGED
@@ -1,12 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Producer
|
3 |
-
emoji: 🎬
|
4 |
-
colorFrom: blue
|
5 |
-
colorTo: indigo
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: "3.50.2"
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
---
|
11 |
-
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py → apps/producer.py
RENAMED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import asyncio
|
3 |
from pathlib import Path
|
4 |
-
from utils.content_generator import ContentGenerator, ContentRequest
|
5 |
-
from utils.youtube_utils import get_transcript, extract_video_id
|
6 |
|
7 |
class TranscriptProcessor:
|
8 |
def __init__(self):
|
@@ -125,4 +125,4 @@ def create_interface():
|
|
125 |
return app
|
126 |
|
127 |
if __name__ == "__main__":
|
128 |
-
create_interface().launch()
|
|
|
1 |
import gradio as gr
|
2 |
import asyncio
|
3 |
from pathlib import Path
|
4 |
+
from ..utils.content_generator import ContentGenerator, ContentRequest
|
5 |
+
from ..utils.youtube_utils import get_transcript, extract_video_id
|
6 |
|
7 |
class TranscriptProcessor:
|
8 |
def __init__(self):
|
|
|
125 |
return app
|
126 |
|
127 |
if __name__ == "__main__":
|
128 |
+
create_interface().launch()
|