import gradio as gr demo = gr.Blocks() with demo: txt_file = gr.File(type="txt",label='CONTRACT') text = gr.Textbox() gr.Dropdown(choices=['1','2','3'],label='SEARCH QUERY') b1 = gr.Button("Analyze File") demo.launch()