import gradio as gr from code_summarizer import query demo = gr.Interface( fn=query, inputs=['text'], outputs="text", ) demo.launch(share=True)