Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import pickle
|
3 |
|
4 |
-
qModel = pickle.
|
5 |
|
6 |
def predit_next_questions(state,n_question):
|
7 |
return qModel.predict(state, n_questions)
|
|
|
1 |
import gradio as gr
|
2 |
import pickle
|
3 |
|
4 |
+
qModel = pickle.load(open('/home/user/app/q-learning.pkl', 'rb'))
|
5 |
|
6 |
def predit_next_questions(state,n_question):
|
7 |
return qModel.predict(state, n_questions)
|