Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def web_scrape(url):
|
|
48 |
return Image.open(BytesIO(screenshot))
|
49 |
|
50 |
iface = gr.Interface(
|
51 |
-
fn=
|
52 |
inputs=gr.inputs.Textbox(label="Website URL", default="https://stock.adobe.com/stock-photo/id/621214874"),
|
53 |
outputs=gr.outputs.Textbox(label="Web Content"),
|
54 |
title="Web Scraping with Selenium (Body Tag)",
|
|
|
48 |
return Image.open(BytesIO(screenshot))
|
49 |
|
50 |
iface = gr.Interface(
|
51 |
+
fn=web_scrape,
|
52 |
inputs=gr.inputs.Textbox(label="Website URL", default="https://stock.adobe.com/stock-photo/id/621214874"),
|
53 |
outputs=gr.outputs.Textbox(label="Web Content"),
|
54 |
title="Web Scraping with Selenium (Body Tag)",
|