Spaces:
Runtime error
Runtime error
Commit
•
6d3e00d
1
Parent(s):
41d7e41
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ def main():
|
|
12 |
if is_valid_filetype(uploaded_file):
|
13 |
st.success("File uploaded successfully!")
|
14 |
# Process the file here
|
15 |
-
st.write(get_features(uploaded_file))
|
16 |
-
st.write(predict_content(uploaded_file))
|
17 |
# st.write(predict_html(uploaded_file))
|
18 |
# st.write(predict_num(num_feature(filepath)))
|
19 |
# st.write(predict_extra(extra_feature(filepath)))
|
|
|
12 |
if is_valid_filetype(uploaded_file):
|
13 |
st.success("File uploaded successfully!")
|
14 |
# Process the file here
|
15 |
+
st.write(get_features(uploaded_file.getbuffer()))
|
16 |
+
st.write(predict_content(uploaded_file.getbuffer()))
|
17 |
# st.write(predict_html(uploaded_file))
|
18 |
# st.write(predict_num(num_feature(filepath)))
|
19 |
# st.write(predict_extra(extra_feature(filepath)))
|