Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,12 @@ class StreamlitResponse(ResponseParser):
|
|
| 37 |
# Tampilkan judul aplikasi
|
| 38 |
st.write("# Chat with Tabular Dataframe 🦙")
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
# Menentukan direktori asal
|
| 41 |
root_dir = "./data"
|
| 42 |
|
|
|
|
| 37 |
# Tampilkan judul aplikasi
|
| 38 |
st.write("# Chat with Tabular Dataframe 🦙")
|
| 39 |
|
| 40 |
+
try:
|
| 41 |
+
from typing_extensions import TypedDict # ✅ Correct for Python <3.12
|
| 42 |
+
except ImportError:
|
| 43 |
+
from typing import TypedDict # ✅ Works for Python 3.12+
|
| 44 |
+
|
| 45 |
+
|
| 46 |
# Menentukan direktori asal
|
| 47 |
root_dir = "./data"
|
| 48 |
|