rabindra-sss commited on
Commit
6cc5308
·
verified ·
1 Parent(s): b00a8aa

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from backend import predict
2
+ import streamlit as st
3
+
4
+ app = FastAPI()
5
+
6
+
7
+ text= st.text_area('enter your text')
8
+
9
+ if(text):
10
+ prediction= predict(text)
11
+ st.json(prediction)