Spaces:
Sleeping
Sleeping
import gradio as gr | |
import pickle | |
qModel = pickle.load(open('/home/user/app/q-learning.pkl', 'rb')) | |
def predit_next_questions(state,n_question): | |
return qModel.predict(state, n_questions) | |
intf = gr.Interface(fn=predict_next_questions, inputs="number", outputs="number") | |
intf.launch | |