Spaces:
Configuration error
Configuration error
Update app.py
Browse files41 unmodified lines4243444546474849505141 unmodified linesimport gradio as grfrom shortener import shorten_urldef shorten(long_url):if not long_url.startswith("http"):return "Invalid URL"return shorten_url(long_url)with gr.Blocks() as app:gr.Markdown("# 🔗 Affiliate URL Shortener")41 unmodified lines4243444546474849505141 unmodified linesimport gradio as grfrom shortener import shorten_url'''def shorten(long_url):if not long_url.startswith("http"):return "Invalid URL"return shorten_url(long_url)'''with gr.Blocks() as app:gr.Markdown("# 🔗 Affiliate URL Shortener")
app.py+2-2