Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,10 +26,10 @@ def take_screenshot(url):
|
|
| 26 |
|
| 27 |
iface = gr.Interface(
|
| 28 |
fn=take_screenshot,
|
| 29 |
-
inputs=gr.inputs.Textbox(label="Website URL", default="https://
|
| 30 |
outputs=gr.Image(type="pil", height=360, width=540), # Adjust the image size here
|
| 31 |
-
title="Website
|
| 32 |
-
description="Take
|
| 33 |
)
|
| 34 |
|
| 35 |
iface.launch()
|
|
|
|
| 26 |
|
| 27 |
iface = gr.Interface(
|
| 28 |
fn=take_screenshot,
|
| 29 |
+
inputs=gr.inputs.Textbox(label="Website URL", default="https://google.com"),
|
| 30 |
outputs=gr.Image(type="pil", height=360, width=540), # Adjust the image size here
|
| 31 |
+
title="Website Scrape",
|
| 32 |
+
description="Take data a website.",
|
| 33 |
)
|
| 34 |
|
| 35 |
iface.launch()
|