vineyard03/Code-Repair-w-LLMs
1
1import gradio as gr
2
3def create_chat_controls():
4 with gr.Row():
5 with gr.Column(scale=10):
6 msg = gr.Textbox(label="Prompt", placeholder="Enter prompt")
7
8 with gr.Row():
9 with gr.Column(min_width=0, scale=10):
10 submit_button = gr.Button("Submit Prompt")
11
12 return msg, submit_button
13
14 