Spaces:
Runtime error
Runtime error
Add user input textbox
Browse files39 unmodified lines40414243434445464748464950515239 unmodified lines
demo = gr.Interface( fn=visit_webpage, inputs=[ inputs=gr.Textbox(label="Website URL"), 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." 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