mirror of
https://github.com/tcsenpai/youlama.git
synced 2025-06-07 03:35:41 +00:00
updated binaries and instructions
This commit is contained in:
parent
3cb3c39379
commit
071f887bd2
30
README.md
30
README.md
@ -4,6 +4,18 @@
|
|||||||
|
|
||||||
YouTube Summarizer is a Streamlit-based web application that allows users to generate summaries of YouTube videos using AI-powered language models and optionally Whisper for transcription.
|
YouTube Summarizer is a Streamlit-based web application that allows users to generate summaries of YouTube videos using AI-powered language models and optionally Whisper for transcription.
|
||||||
|
|
||||||
|
- [YouTube Summarizer by TCSenpai](#youtube-summarizer-by-tcsenpai)
|
||||||
|
- [Features](#features)
|
||||||
|
- [Installation](#installation)
|
||||||
|
- [Usage](#usage)
|
||||||
|
- [Global Installation](#global-installation)
|
||||||
|
- [Run with the included binary](#run-with-the-included-binary)
|
||||||
|
- [Dependencies](#dependencies)
|
||||||
|
- [Project Structure](#project-structure)
|
||||||
|
- [Contributing](#contributing)
|
||||||
|
- [License](#license)
|
||||||
|
- [Credits](#credits)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
@ -62,6 +74,24 @@ YouTube Summarizer is a Streamlit-based web application that allows users to gen
|
|||||||
|
|
||||||
6. Click the "Summarize" button to generate a summary of the video.
|
6. Click the "Summarize" button to generate a summary of the video.
|
||||||
|
|
||||||
|
## Global Installation
|
||||||
|
|
||||||
|
You can install the application globally on your system by running the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo ./install.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
This will create a new command `youlama` that you can use to run the application.
|
||||||
|
|
||||||
|
## Run with the included binary
|
||||||
|
|
||||||
|
You can also run the application with the included binary:
|
||||||
|
|
||||||
|
```
|
||||||
|
./youlama
|
||||||
|
```
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
- Streamlit
|
- Streamlit
|
||||||
|
25
install.sh
Executable file
25
install.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# Ensure the script is run with sudo
|
||||||
|
if [ "$EUID" -ne 0 ]; then
|
||||||
|
echo "Please run this script with sudo"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
pip install -r requirements.txt || exit 1
|
||||||
|
|
||||||
|
# Get the directory of the script
|
||||||
|
DIR=$(pwd)
|
||||||
|
|
||||||
|
# Create a proper executable
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
CMD="""
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd $CURRENT_DIR
|
||||||
|
streamlit run src/main.py
|
||||||
|
"""
|
||||||
|
|
||||||
|
echo "$CMD" > /usr/local/bin/youlama
|
||||||
|
chmod +x /usr/local/bin/youlama
|
Loading…
x
Reference in New Issue
Block a user