Spaces:
Sleeping
Sleeping
Commit ·
08a4f6c
1
Parent(s): ca03794
feat: add main menu options and scripts
Browse files- app.py +4 -1
- resources/examples.csv +1 -1
app.py
CHANGED
|
@@ -29,7 +29,10 @@ TEXT_2_SQL_API = os.environ.get(
|
|
| 29 |
"TEXT_2_SQL_API", "http://213.181.122.2:40057/api/text2sql/ask"
|
| 30 |
)
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
|
| 35 |
@st.cache_resource
|
|
|
|
| 29 |
"TEXT_2_SQL_API", "http://213.181.122.2:40057/api/text2sql/ask"
|
| 30 |
)
|
| 31 |
|
| 32 |
+
try:
|
| 33 |
+
os.remove("resources/ai_app.db")
|
| 34 |
+
except:
|
| 35 |
+
pass
|
| 36 |
|
| 37 |
|
| 38 |
@st.cache_resource
|
resources/examples.csv
CHANGED
|
@@ -22,4 +22,4 @@ CREATE TABLE product (id number, category text, name text, description text, pri
|
|
| 22 |
|
| 23 |
product.voice_amount is the call capacity.
|
| 24 |
product.data_amount is the internet data capacity.
|
| 25 |
-
product.sms_amount is the maximum number of sms messages can be sent.",
|
|
|
|
| 22 |
|
| 23 |
product.voice_amount is the call capacity.
|
| 24 |
product.data_amount is the internet data capacity.
|
| 25 |
+
product.sms_amount is the maximum number of sms messages can be sent.", Dung lượng cuộc gọi lớn nhất là bao nhiêu, của sản phẩm nào
|