Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,6 +95,7 @@ def page2():
|
|
| 95 |
st.text("Using Scrapfly")
|
| 96 |
brand_summary_html = create_screenshot_from_scrap_fly(brand_link)
|
| 97 |
if brand_summary_html["success"]:
|
|
|
|
| 98 |
compressed_image = f"comp_brand_{random.randint(1, 100000000)}.png"
|
| 99 |
comp = check_and_compress_image(brand_summary_html["location"], compressed_image)
|
| 100 |
if comp["success"]:
|
|
|
|
| 95 |
st.text("Using Scrapfly")
|
| 96 |
brand_summary_html = create_screenshot_from_scrap_fly(brand_link)
|
| 97 |
if brand_summary_html["success"]:
|
| 98 |
+
st.image(brand_summary_html["location"])
|
| 99 |
compressed_image = f"comp_brand_{random.randint(1, 100000000)}.png"
|
| 100 |
comp = check_and_compress_image(brand_summary_html["location"], compressed_image)
|
| 101 |
if comp["success"]:
|