Spaces:
Runtime error
Runtime error
Add user input textbox
Browse files39 unmodified lines4041424344454647484939 unmodified linesdemo = gr.Interface(fn=visit_webpage,inputs=gr.Textbox(label="Website URL"),outputs=gr.Textbox(label="Extracted Section, Directory Paths, and File Paths", show_copy_button=True),title="Webpage Section and Path Extractor",description="Enter a website URL. This tool fetches the page, extracts a markdown section, and lists directory paths and files found in that section.")if __name__ == "__main__":39 unmodified lines4041424344454647484950515239 unmodified linesdemo = gr.Interface(fn=visit_webpage,inputs=[gr.Textbox(label="Website URL"),gr.Textbox(label="Files or folders you want to highlight in the README (comma or newline separated)")],outputs=gr.Textbox(label="Extracted Section, Directory Paths, and File Paths", show_copy_button=True),title="Webpage Section and Path Extractor",description="Enter a website URL. This tool fetches the page, extracts a markdown section, and lists directory paths and files found in that section. You can also specify files or folders you want to highlight in the generated README.")if __name__ == "__main__":
app.py+5-2