CoolFace
Apppublic

ShopSnapAudit/shopify-checker

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
app.py23 linesDownload Raw Back to root
1import gradio as gr2import requests3 4def check_store(url):5    if not url.startswith("https://"):6        url = "https://" + url7    try:8        response = requests.get(url, timeout=5)9        if "shopify" in response.text.lower():10            return "✅ This looks like a Shopify store!"11        else:12            return "⚠️ This doesn't appear to be a Shopify store."13    except:14        return "❌ Could not reach the store. Check the URL."15 16gr.Interface(17    fn=check_store,18    inputs=gr.Text(label="Enter Shopify Store URL"),19    outputs=gr.Text(label="Result"),20    title="Shopify Store Checker",21    description="Paste your Shopify store link to check if it's live and Shopify-powered. No login needed."22).launch()23