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