add new LLM provider io.net gemini g4f
This commit is contained in:
118
README.md
118
README.md
@@ -1,59 +1,59 @@
|
||||
# FWAL WebUI (Faster Whisper And LLM WebUI) by swrneko
|
||||
|
||||
<div align="center">
|
||||
<img src="https://count.getloli.com/get/@swrneko-faster-whisper-llm?theme=rule34"/>
|
||||
</div>
|
||||
|
||||
## Screenshots
|
||||
<div align="center">
|
||||
<div>
|
||||
<img src="src/1.png" style="object-fit: cover;"/>
|
||||
</div>
|
||||
<div style="align-items: center;">
|
||||
<img src="src/2.png" style="width: 49.7%; object-fit: cover;"/>
|
||||
<img src="src/3.png" style="width: 49.7%; object-fit: cover;"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
## Requirements
|
||||
- python-conda or miniconda;
|
||||
- python 3.10 or above;
|
||||
- linux (windows not tested but probably working);
|
||||
|
||||
Python requirements are listed in `requirements.txt`.
|
||||
|
||||
## Installation
|
||||
1. Clone repository:
|
||||
```
|
||||
git clone https://github.com/swrneko/faster-whisper-n-ionet-llm.git
|
||||
cd faster-whisper-n-ionet-llm
|
||||
```
|
||||
also (if not insatlled)
|
||||
- Insatll conda:
|
||||
```
|
||||
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh && bash miniconda.sh
|
||||
```
|
||||
|
||||
2. Create virtual env:
|
||||
```
|
||||
conda create -n faster-whisper-n-ionet-llm python=3.10
|
||||
conda activate faster-whisper-n-ionet-llm
|
||||
conda install nvidia::cudnn cuda-version=12
|
||||
```
|
||||
|
||||
3. Install requirements:
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
4. Get api key from [io.net](https://ai.io.net/ai/api-keys) and insert into `.env` file (need to create it in root of repository directory).
|
||||
It should looks like this:
|
||||
```
|
||||
API_KEY='your_api_key_without_qoutes'
|
||||
```
|
||||
|
||||
5. Done! Now you can just run it like that:
|
||||
```shell
|
||||
python app.py
|
||||
```
|
||||
# FWAL WebUI (Faster Whisper And LLM WebUI) by swrneko
|
||||
|
||||
<div align="center">
|
||||
<img src="https://count.getloli.com/get/@swrneko-faster-whisper-llm?theme=rule34"/>
|
||||
</div>
|
||||
|
||||
## Screenshots
|
||||
<div align="center">
|
||||
<div>
|
||||
<img src="src/1.png" style="object-fit: cover;"/>
|
||||
</div>
|
||||
<div style="align-items: center;">
|
||||
<img src="src/2.png" style="width: 49.7%; object-fit: cover;"/>
|
||||
<img src="src/3.png" style="width: 49.7%; object-fit: cover;"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
## Requirements
|
||||
- python-conda or miniconda;
|
||||
- python 3.10 or above;
|
||||
- linux (windows not tested but probably working);
|
||||
|
||||
Python requirements are listed in `requirements.txt`.
|
||||
|
||||
## Installation
|
||||
1. Clone repository:
|
||||
```
|
||||
git clone https://github.com/swrneko/faster-whisper-n-ionet-llm.git
|
||||
cd faster-whisper-n-ionet-llm
|
||||
```
|
||||
also (if not insatlled)
|
||||
- Insatll conda:
|
||||
```
|
||||
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh && bash miniconda.sh
|
||||
```
|
||||
|
||||
2. Create virtual env:
|
||||
```
|
||||
conda create -n faster-whisper-n-ionet-llm python=3.10
|
||||
conda activate faster-whisper-n-ionet-llm
|
||||
conda install nvidia::cudnn cuda-version=12
|
||||
```
|
||||
|
||||
3. Install requirements:
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
4. Get api key from [io.net](https://ai.io.net/ai/api-keys) and insert into `.env` file (need to create it in root of repository directory).
|
||||
It should looks like this:
|
||||
```
|
||||
API_KEY='your_api_key_without_qoutes'
|
||||
```
|
||||
|
||||
5. Done! Now you can just run it like that:
|
||||
```shell
|
||||
python app.py
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user