Spaces:
Runtime error
Runtime error
Isabel Gwara
commited on
Commit
·
bf8a587
1
Parent(s):
3d15039
Update app.py
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ for colname in data.columns:
|
|
135 |
|
136 |
# generate gradio interface
|
137 |
if st.button("Submit"):
|
138 |
-
x = pd.DataFrame([inputls]
|
139 |
prediction = model.predict(x)[0]
|
140 |
|
141 |
st.text(f"This instance is a {prediction}")
|
|
|
135 |
|
136 |
# generate gradio interface
|
137 |
if st.button("Submit"):
|
138 |
+
x = pd.DataFrame([inputls])
|
139 |
prediction = model.predict(x)[0]
|
140 |
|
141 |
st.text(f"This instance is a {prediction}")
|