import gradio as gr import WritingAssistant iface = gr.Interface(fn=WritingAssistant.write4me, inputs="text", outputs="text") iface.launch()