Spaces:
Sleeping
Sleeping
jaifar530
commited on
dasdasd
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ if not os.path.isfile('AI_vs_AI_RandomForest_88_Samples.pkl'):
|
|
44 |
file.write(response.content)
|
45 |
|
46 |
# At this point, the pickle file should exist, either it was already there, or it has been downloaded and extracted.
|
47 |
-
with open('
|
48 |
clf_loaded = pickle.load(file)
|
49 |
|
50 |
input_paragraph = st.text_area("Input your text here")
|
|
|
44 |
file.write(response.content)
|
45 |
|
46 |
# At this point, the pickle file should exist, either it was already there, or it has been downloaded and extracted.
|
47 |
+
with open('AI_vs_AI_RandomForest_88_Samples.pkl', 'rb') as file:
|
48 |
clf_loaded = pickle.load(file)
|
49 |
|
50 |
input_paragraph = st.text_area("Input your text here")
|