Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,12 +53,12 @@ iface = gr.Interface(
|
|
| 53 |
gr.Checkbox(label="Enable JavaScript"),
|
| 54 |
],
|
| 55 |
outputs=[
|
| 56 |
-
gr.
|
| 57 |
gr.Textbox(label="Warning/Error Messages"),
|
| 58 |
-
gr.
|
| 59 |
],
|
| 60 |
title="Webpage to HTML Converter",
|
| 61 |
-
description="Convert a webpage to a single HTML file for offline use."
|
| 62 |
)
|
| 63 |
|
| 64 |
if __name__ == "__main__":
|
|
|
|
| 53 |
gr.Checkbox(label="Enable JavaScript"),
|
| 54 |
],
|
| 55 |
outputs=[
|
| 56 |
+
gr.File(label="Download HTML File"),
|
| 57 |
gr.Textbox(label="Warning/Error Messages"),
|
| 58 |
+
gr.HTML(label="HTML Content"),
|
| 59 |
],
|
| 60 |
title="Webpage to HTML Converter",
|
| 61 |
+
description="Convert a webpage to a single HTML file for offline use. This space was created for my friend for API user but you can perfectly use it here, this is a Gradio wrapper of (zTrix's webpage2html)[https://github.com/zTrix/webpage2html/] script."
|
| 62 |
)
|
| 63 |
|
| 64 |
if __name__ == "__main__":
|