chandanrajCL commited on
Commit
d0836be
·
verified ·
1 Parent(s): da7d7c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -1,12 +1,10 @@
1
  import streamlit as st
2
- import gensim
3
- from gensim.models import FastText
4
- from gensim.test.utils import get_tmpfile
5
-
6
-
7
 
8
  model_path = "model_fastext.bin"
9
- model_path = get_tmpfile("model_fastext.bin")
 
 
10
 
11
 
12
  # Load the FastText model
 
1
  import streamlit as st
2
+ import fasttext
 
 
 
 
3
 
4
  model_path = "model_fastext.bin"
5
+
6
+ # Load the FastText model
7
+ model = fasttext.load_model(model_path)
8
 
9
 
10
  # Load the FastText model