Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Erfan11
/
Textwizai
like
0
Sleeping
App
Files
Files
Community
1
c0e0b2c
Textwizai
/
utils.py
Erfan11
Update utils.py
0a6e300
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
164 Bytes
import
tensorflow
as
tf
from
load_model
import
load_model
def
predict
(
text
):
model = load_model()
prediction = model.predict([text])
return
prediction