import gradio as gr from authormist import Humanizer humanizer = Humanizer() def humanize(text): return humanizer.humanize(text) demo = gr.Interface( fn=humanize, inputs="textbox", outputs="textbox", title="AuthorMist AI Humanizer" ) demo.launch()