Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ with gr.Blocks() as demo:
|
|
25 |
gr.Markdown("Upload your README file and interact with the chatbot.")
|
26 |
|
27 |
# File upload
|
28 |
-
readme_file = gr.File(label="Upload README file", type="
|
29 |
readme_content = gr.Textbox(label="README Content", lines=10, placeholder="README content will appear here...")
|
30 |
|
31 |
# Button to display README content
|
|
|
25 |
gr.Markdown("Upload your README file and interact with the chatbot.")
|
26 |
|
27 |
# File upload
|
28 |
+
readme_file = gr.File(label="Upload README file", type="filepath", file_types=[".md"])
|
29 |
readme_content = gr.Textbox(label="README Content", lines=10, placeholder="README content will appear here...")
|
30 |
|
31 |
# Button to display README content
|