Spaces:
Paused
Paused
Update README.md
Browse files
README.md
CHANGED
@@ -1,51 +1,8 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
- [Streamlit](https://streamlit.io/) to build a data science web app
|
10 |
-
- [Pandasai](https://pandas-ai.com/) to generate Pandas code from a query through [OpenAI GPT-3.5](https://platform.openai.com/docs/api-reference)
|
11 |
-
|
12 |
-
## Download dataset
|
13 |
-
|
14 |
-
Download the [dataset](https://github.com/Fraud-Detection-Handbook/simulated-data-transformed) into the `data` folder at the root of the project.
|
15 |
-
|
16 |
-
## Run the project
|
17 |
-
|
18 |
-
If you don't have a Python environment available, you can use the [conda package manager](https://docs.conda.io/projects/conda/en/latest/index.html) which comes with the [Anaconda distribution](https://www.anaconda.com/download) to manage a clean Python environment.
|
19 |
-
|
20 |
-
Create a new environment and activate it:
|
21 |
-
|
22 |
-
```sh
|
23 |
-
conda create -n streamlit-pandasai python=3.9
|
24 |
-
conda activate streamlit-pandasai
|
25 |
-
```
|
26 |
-
|
27 |
-
Install Python dependencies in the activate Python environment:
|
28 |
-
|
29 |
-
```sh
|
30 |
-
pip install -r requirements.txt
|
31 |
-
```
|
32 |
-
|
33 |
-
Create a [new API key](https://platform.openai.com/account/api-keys) and set it to the `OPENAI_API_KEY` environment variable beforehand.
|
34 |
-
|
35 |
-
On Windows:
|
36 |
-
|
37 |
-
```bash
|
38 |
-
set OPENAI_API_KEY="sk-..."
|
39 |
-
```
|
40 |
-
|
41 |
-
On Unix:
|
42 |
-
|
43 |
-
```sh
|
44 |
-
export OPENAI_API_KEY="sk-..."
|
45 |
-
```
|
46 |
-
|
47 |
-
Run the Streamlit project:
|
48 |
-
|
49 |
-
```sh
|
50 |
-
streamlit run streamlit_app.py
|
51 |
-
```
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
title: Prototipe Dialog Data via PandasAI
|
4 |
+
sdk: streamlit
|
5 |
+
emoji: 👁
|
6 |
+
colorFrom: green
|
7 |
+
colorTo: blue
|
8 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|