#!/usr/bin/env python import gradio as gr with gr.Blocks() as demo: text = gr.Textbox() btn = gr.Button() if __name__ == "__main__": demo.queue().launch()