-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8454f5
commit a2059cb
Showing
1 changed file
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,49 @@ | ||
# Streamlit and Fedot.LLM | ||
|
||
To run web interface for FEDOT.LLM follow this steps: | ||
To run web interface for FEDOT.LLM follow these steps: | ||
|
||
### Step 1: Clone the repository | ||
|
||
Run the following command in your terminal to clone the repository: | ||
|
||
```bash | ||
https://github.com/ITMO-NSS-team/FEDOT.LLM.git | ||
git clone https://github.com/aimclub/FEDOT.LLM.git | ||
``` | ||
### Step 2: Set up a virtual environment | ||
|
||
### Step 2: Install dependencies | ||
|
||
Navigate to the project directory and install the required dependencies using pip: | ||
Navigate to the project directory and create a virtual environment: | ||
|
||
``` bash | ||
cd FEDOT.LLM | ||
pip install -r requirements.txt | ||
python3.10 -m venv .venv | ||
``` | ||
|
||
Activate the virtual environment: | ||
* On Windows | ||
``` bash | ||
.venv\Scripts\activate | ||
``` | ||
* On macOS / Linux | ||
``` bash | ||
source .venv/bin/activate | ||
``` | ||
|
||
This will install all the necessary libraries, including Streamlit, Fedot-LLM, and others. | ||
### Step 3: Install dependencies | ||
|
||
``` bash | ||
pip install -e . | ||
``` | ||
|
||
This will install all the necessary libraries, including Streamlit, Fedot-LLM, and others. | ||
|
||
**Note: Before running the application make sure to set the OPENAI_TOKEN environment variable** | ||
|
||
### Step 3: Run the Streamlit application | ||
### Step 4: Run the Streamlit application | ||
|
||
Run the following command to start the Streamlit application: | ||
|
||
``` bash | ||
streamlit run streamlit-app.py | ||
streamlit run libs/fedotllm/streamlit-app.py | ||
``` | ||
|
||
This will launch the Streamlit app in your default web browser. |