oceansweep
commited on
Commit
•
725dbb8
1
Parent(s):
4bcbef7
Update app.py
Browse files
app.py
CHANGED
@@ -15,20 +15,7 @@ global_huggingface_api_key = os.environ['HF_TOKEN']
|
|
15 |
os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python'
|
16 |
# Local Library Imports
|
17 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'App_Function_Libraries')))
|
18 |
-
from App_Function_Libraries.Book_Ingestion_Lib import ingest_folder, ingest_text_file
|
19 |
-
from App_Function_Libraries.Chunk_Lib import semantic_chunk_long_file#, rolling_summarize_function,
|
20 |
from App_Function_Libraries.Gradio_Related import launch_ui
|
21 |
-
from App_Function_Libraries.Local_LLM_Inference_Engine_Lib import cleanup_process, local_llm_function
|
22 |
-
from App_Function_Libraries.Local_Summarization_Lib import summarize_with_local_llm
|
23 |
-
from App_Function_Libraries.Summarization_General_Lib import summarize_with_openai, summarize_with_anthropic, \
|
24 |
-
summarize_with_cohere, summarize_with_groq, perform_transcription, perform_summarization
|
25 |
-
from App_Function_Libraries.Audio_Transcription_Lib import speech_to_text
|
26 |
-
from App_Function_Libraries.Local_File_Processing_Lib import read_paths_from_file, process_local_file
|
27 |
-
from App_Function_Libraries.DB.DB_Manager import add_media_to_database
|
28 |
-
from App_Function_Libraries.Utils.System_Checks_Lib import cuda_check, platform_check, check_ffmpeg
|
29 |
-
from App_Function_Libraries.Utils.Utils import load_and_log_configs, create_download_directory, extract_text_from_segments, \
|
30 |
-
cleanup_downloads
|
31 |
-
from App_Function_Libraries.Video_DL_Ingestion_Lib import download_video, extract_video_info
|
32 |
#
|
33 |
# 3rd-Party Module Imports
|
34 |
import requests
|
|
|
15 |
os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python'
|
16 |
# Local Library Imports
|
17 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'App_Function_Libraries')))
|
|
|
|
|
18 |
from App_Function_Libraries.Gradio_Related import launch_ui
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
#
|
20 |
# 3rd-Party Module Imports
|
21 |
import requests
|