Spaces:
Runtime error
Runtime error
Isabel Gwara
commited on
Commit
·
8c8fd89
1
Parent(s):
d35784f
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ for colname in data.columns:
|
|
| 128 |
inputls.append(st.number_imput(colname))
|
| 129 |
|
| 130 |
# generate gradio interface
|
| 131 |
-
if
|
| 132 |
results = general_predictor(inputls)
|
| 133 |
|
| 134 |
st.text(f"Your most likley recommendation: {results[0]}")
|
|
|
|
| 128 |
inputls.append(st.number_imput(colname))
|
| 129 |
|
| 130 |
# generate gradio interface
|
| 131 |
+
if st.button("Submit"):
|
| 132 |
results = general_predictor(inputls)
|
| 133 |
|
| 134 |
st.text(f"Your most likley recommendation: {results[0]}")
|