Blane187 commited on
Commit
6366fdf
1 Parent(s): 5a3089d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file", file_count="single", 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
 
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