import gradio as gr from KmerTokenizer import kmer_tokenizer def tem(name, num =3): return name*num iface = gr.Interface(fn=tem, inputs=["text", "Dropdown" ], outputs="text") iface.launch()