Spaces:
Sleeping
Sleeping
File size: 282 Bytes
0443094 6a0ae8e 0443094 6a0ae8e 0443094 dfcca9d 0443094 |
1 2 3 4 5 6 7 8 9 10 11 12 |
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
|