Spaces:
Runtime error
Runtime error
allenchienxxx
commited on
Commit
•
76dd553
1
Parent(s):
7e03d9c
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,9 @@ def main():
|
|
8 |
if uploaded_file is not None:
|
9 |
st.success("File uploaded successfully!")
|
10 |
# Process the file here
|
11 |
-
st.write(uploaded_file.read())
|
12 |
-
|
13 |
-
|
14 |
# st.write(predict_html(html_tags_feature(uploaded_file)))
|
15 |
# st.write(predict_num(num_feature(uploaded_file)))
|
16 |
# st.write(predict_extra(extra_feature(uploaded_file)))
|
|
|
8 |
if uploaded_file is not None:
|
9 |
st.success("File uploaded successfully!")
|
10 |
# Process the file here
|
11 |
+
# st.write(uploaded_file.read())
|
12 |
+
st.write(get_features(uploaded_file))
|
13 |
+
st.write(predict_content(text_feature(uploaded_file)))
|
14 |
# st.write(predict_html(html_tags_feature(uploaded_file)))
|
15 |
# st.write(predict_num(num_feature(uploaded_file)))
|
16 |
# st.write(predict_extra(extra_feature(uploaded_file)))
|