Skip to content

Commit

Permalink
update STREAMLIT_README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimsAhmers committed Jan 19, 2025
1 parent e8454f5 commit a2059cb
Showing 1 changed file with 26 additions and 9 deletions.
35 changes: 26 additions & 9 deletions STREAMLIT_README.md
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.

0 comments on commit a2059cb

Please sign in to comment.