Spaces:
Sleeping
Sleeping
import gradio as gr | |
import pickle | |
qModel = pickle.load('q-learning.pkl') | |
def predit_next_question(state): | |
return qModel.predict(state) | |
intf = gr.Interface(fn=predict_next_question, inputs="number", outputs="number") | |
intf.launch | |