Spaces:
Sleeping
Sleeping
Commit ·
4b8ba20
1
Parent(s): 47cfa38
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,9 @@ if i_pwd=='password':
|
|
| 36 |
create_table_statement= "CREATE TABLE car_sales (Manufacturer text, Model text, Sales_in_thousands float, __year_resale_value float, Vehicle_type text, Price_in_thousands float, Engine_size float, Horsepower float, Wheelbase float, Width float, Length float, Curb_weight float, Fuel_capacity float, Fuel_efficiency float, Latest_Launch text, Power_perf_factor float)"
|
| 37 |
|
| 38 |
# Step 1: User input
|
| 39 |
-
|
|
|
|
|
|
|
| 40 |
|
| 41 |
# Step 2: Backend processing on Enter
|
| 42 |
if user_query:
|
|
|
|
| 36 |
create_table_statement= "CREATE TABLE car_sales (Manufacturer text, Model text, Sales_in_thousands float, __year_resale_value float, Vehicle_type text, Price_in_thousands float, Engine_size float, Horsepower float, Wheelbase float, Width float, Length float, Curb_weight float, Fuel_capacity float, Fuel_efficiency float, Latest_Launch text, Power_perf_factor float)"
|
| 37 |
|
| 38 |
# Step 1: User input
|
| 39 |
+
with st.chat_message(name= 'assistant'):
|
| 40 |
+
st.write('Ask question and press Enter')
|
| 41 |
+
user_query = st.text_input("")
|
| 42 |
|
| 43 |
# Step 2: Backend processing on Enter
|
| 44 |
if user_query:
|