Spaces:
Build error
Build error
phillip1029 commited on
Commit ·
f59dc1e
1
Parent(s): 8e651c3
add pydantic
Browse files- requirements.txt +2 -1
- streamlit_app.py +1 -2
requirements.txt
CHANGED
|
@@ -2,4 +2,5 @@ pandas
|
|
| 2 |
pandasai
|
| 3 |
streamlit
|
| 4 |
python-dotenv
|
| 5 |
-
typing-extensions
|
|
|
|
|
|
| 2 |
pandasai
|
| 3 |
streamlit
|
| 4 |
python-dotenv
|
| 5 |
+
typing-extensions
|
| 6 |
+
pydantic
|
streamlit_app.py
CHANGED
|
@@ -4,8 +4,7 @@ from pandasai import SmartDataframe
|
|
| 4 |
from pandasai.llm import OpenAI
|
| 5 |
import pandas as pd
|
| 6 |
import os
|
| 7 |
-
from
|
| 8 |
-
|
| 9 |
|
| 10 |
# load the .env file
|
| 11 |
from dotenv import load_dotenv
|
|
|
|
| 4 |
from pandasai.llm import OpenAI
|
| 5 |
import pandas as pd
|
| 6 |
import os
|
| 7 |
+
from typing_extensions import TypedDict
|
|
|
|
| 8 |
|
| 9 |
# load the .env file
|
| 10 |
from dotenv import load_dotenv
|