Spaces:
Sleeping
Sleeping
import gradio as gr | |
demo = gr.Interface(fn=recom, | |
inputs=[gr.Dropdown(choices = list(desc['title'][:20]), multiselect=True, max_choices=3, label="Movies"), | |
gr.Radio(["bert", "scibert", "nltk" , "none"], value="none", label="Tokenization and text preprocess")], | |
outputs=gr.Textbox(label="Recommended")) | |
demo.launch() |