Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -84,11 +84,11 @@ def generate_zip_file(url):
|
|
84 |
f.write(zip_buffer.read())
|
85 |
return temp_zip_path
|
86 |
|
87 |
-
with gr.Blocks(theme="
|
88 |
gr.Markdown("## Webpage to ZIP Downloader 🔗")
|
89 |
gr.Markdown("Enter a URL to download the webpage and its assets as a ZIP file.")
|
90 |
|
91 |
-
url_input = gr.Textbox(label="Website URL", placeholder="Enter a URL (e.g., https://www.example.com)", value="
|
92 |
|
93 |
download_button = gr.Button("Download as ZIP")
|
94 |
output_file = gr.File(label="Download")
|
|
|
84 |
f.write(zip_buffer.read())
|
85 |
return temp_zip_path
|
86 |
|
87 |
+
with gr.Blocks(theme="bethecloud/storj_theme") as demo:
|
88 |
gr.Markdown("## Webpage to ZIP Downloader 🔗")
|
89 |
gr.Markdown("Enter a URL to download the webpage and its assets as a ZIP file.")
|
90 |
|
91 |
+
url_input = gr.Textbox(label="Website URL", placeholder="Enter a URL (e.g., https://www.example.com)", value="https://www.bmw.com/en/index.html")
|
92 |
|
93 |
download_button = gr.Button("Download as ZIP")
|
94 |
output_file = gr.File(label="Download")
|