Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
•
185c1c6
1
Parent(s):
00c9131
fix
Browse files- README.md +2 -8
- utils/multiple_stream.py +0 -1
README.md
CHANGED
@@ -17,16 +17,12 @@ A collection and display of projects from Chris's group.
|
|
17 |
|
18 |
## Installation
|
19 |
|
20 |
-
### Install `poetry` (if not already installed)
|
21 |
-
|
22 |
-
Check this [website](https://python-poetry.org/docs/) for installation instructions.
|
23 |
-
|
24 |
### Create a Cirtual Environment
|
25 |
|
26 |
Navigate to the main directory chris-labs and run the following commands to create a virtual environment:
|
27 |
|
28 |
```sh
|
29 |
-
|
30 |
source venv/bin/activate
|
31 |
```
|
32 |
|
@@ -35,11 +31,9 @@ source venv/bin/activate
|
|
35 |
Run the following command to install project dependencies:
|
36 |
|
37 |
```sh
|
38 |
-
|
39 |
```
|
40 |
|
41 |
-
Change the `OPENAI_API_KEY` in `.env`
|
42 |
-
|
43 |
### Run `streamlit`
|
44 |
|
45 |
Start the Streamlit application by running:
|
|
|
17 |
|
18 |
## Installation
|
19 |
|
|
|
|
|
|
|
|
|
20 |
### Create a Cirtual Environment
|
21 |
|
22 |
Navigate to the main directory chris-labs and run the following commands to create a virtual environment:
|
23 |
|
24 |
```sh
|
25 |
+
python -m venv venv
|
26 |
source venv/bin/activate
|
27 |
```
|
28 |
|
|
|
31 |
Run the following command to install project dependencies:
|
32 |
|
33 |
```sh
|
34 |
+
pip install -r requirements.txt
|
35 |
```
|
36 |
|
|
|
|
|
37 |
### Run `streamlit`
|
38 |
|
39 |
Start the Streamlit application by running:
|
utils/multiple_stream.py
CHANGED
@@ -21,7 +21,6 @@ def generate_data_test():
|
|
21 |
temp = ' '.join(l1)
|
22 |
|
23 |
for word in temp.split(" "):
|
24 |
-
print(word)
|
25 |
yield word + " "
|
26 |
sleep(0.1)
|
27 |
|
|
|
21 |
temp = ' '.join(l1)
|
22 |
|
23 |
for word in temp.split(" "):
|
|
|
24 |
yield word + " "
|
25 |
sleep(0.1)
|
26 |
|