Update app.py
Browse files
app.py
CHANGED
@@ -270,8 +270,8 @@ with gr.Blocks() as demo:
|
|
270 |
github_url_input = gr.Textbox(label="GitHub Repository URL", placeholder="https://github.com/username/repository")
|
271 |
load_repo_btn = gr.Button("Load Repository Contents")
|
272 |
file_dropdown = gr.Dropdown(label="Select a File", interactive=True, choices=[])
|
273 |
-
|
274 |
-
repo_content_output = gr.Chatbot(label="File Content")
|
275 |
|
276 |
with gr.Column(scale=2):
|
277 |
gr.Markdown("### Chat Interface")
|
|
|
270 |
github_url_input = gr.Textbox(label="GitHub Repository URL", placeholder="https://github.com/username/repository")
|
271 |
load_repo_btn = gr.Button("Load Repository Contents")
|
272 |
file_dropdown = gr.Dropdown(label="Select a File", interactive=True, choices=[])
|
273 |
+
repo_content_output = gr.Textbox(label="File Content", interactive=False, lines=30)
|
274 |
+
# repo_content_output = gr.Chatbot(label="File Content")
|
275 |
|
276 |
with gr.Column(scale=2):
|
277 |
gr.Markdown("### Chat Interface")
|