Spaces:
Sleeping
Sleeping
clean
Browse files
app.py
CHANGED
@@ -6,7 +6,6 @@ from docx import Document
|
|
6 |
import os
|
7 |
from openai import OpenAI
|
8 |
from groq import Groq
|
9 |
-
from docx import Document
|
10 |
import uuid
|
11 |
from gtts import gTTS
|
12 |
|
@@ -301,7 +300,6 @@ def update_file_on_drive(service, file_id, file_content):
|
|
301 |
|
302 |
print(f"文件已更新,文件ID: {updated_file['id']}")
|
303 |
|
304 |
-
|
305 |
# ---- Text file ----
|
306 |
def process_file(password, file):
|
307 |
verify_password(password)
|
@@ -414,7 +412,6 @@ def generate_transcription(video_id):
|
|
414 |
]
|
415 |
return transcription
|
416 |
|
417 |
-
|
418 |
def process_transcript_and_screenshots(video_id):
|
419 |
print("====process_transcript_and_screenshots====")
|
420 |
|
|
|
6 |
import os
|
7 |
from openai import OpenAI
|
8 |
from groq import Groq
|
|
|
9 |
import uuid
|
10 |
from gtts import gTTS
|
11 |
|
|
|
300 |
|
301 |
print(f"文件已更新,文件ID: {updated_file['id']}")
|
302 |
|
|
|
303 |
# ---- Text file ----
|
304 |
def process_file(password, file):
|
305 |
verify_password(password)
|
|
|
412 |
]
|
413 |
return transcription
|
414 |
|
|
|
415 |
def process_transcript_and_screenshots(video_id):
|
416 |
print("====process_transcript_and_screenshots====")
|
417 |
|