Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ nltk.download('punkt')
|
|
30 |
nltk.download('stopwords')
|
31 |
from fastapi import FastAPI, Request
|
32 |
import pickle
|
33 |
-
model = pickle.load(open("
|
34 |
import gradio as gr
|
35 |
def predict(text):
|
36 |
text=pd.DataFrame([text], columns=["text"])
|
|
|
30 |
nltk.download('stopwords')
|
31 |
from fastapi import FastAPI, Request
|
32 |
import pickle
|
33 |
+
model = pickle.load(open("/content/fakenewsdetection/fakenews.sav", 'rb'))
|
34 |
import gradio as gr
|
35 |
def predict(text):
|
36 |
text=pd.DataFrame([text], columns=["text"])
|