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