Upload app.py
Browse files3380 unmodified lines338133823383338433853386338733883 unmodified lines339233933394339533963397339833993380 unmodified linesprint("3. Check port availability or try different port")print("4. Ensure virtual environment is active")print("5. For Windows: pip install --upgrade gradio httpx python-dotenv")print("6. Contact support if issues persist")if prizes:avg_prize = sum(prizes) / len(prizes)max_prize = max(prizes)response += f"\n💡 **Prize Insights:** Average prize: ${avg_prize:,.0f} | Highest: ${max_prize:,}\n"3 unmodified lineselse:# No matches found, but provide helpful responsetech_names = ", ".join(detected_techs)return f"""I searched through **{len(challenges)} live challenges** from the real MCP server, but didn't find any that specifically match **{tech_names}** in my current dataset.**🔍 This could mean:**• These challenges might be in a different category or status• The technology keywords might be listed differently• New challenges with these technologies haven't been added yet3380 unmodified lines338133823383338433853386338733883 unmodified lines33923393339433953396339733983380 unmodified linesprint("3. Check port availability or try different port")print("4. Ensure virtual environment is active")print("5. For Windows: pip install --upgrade gradio httpx python-dotenv")print("6. Contact support if issues persist"), '').replace(',', '').isdigit()]if prizes:avg_prize = sum(prizes) / len(prizes)max_prize = max(prizes)response += f"\n💡 **Prize Insights:** Average prize: ${avg_prize:,.0f} | Highest: ${max_prize:,}\n"3 unmodified lineselse:# No matches found, but provide helpful responsetech_names = ", ".join(detected_techs)return f"""I searched through **{len(challenges)} live challenges** from the real MCP server, but didn't find any that specifically match **{tech_names}** in my current dataset.**🔍 This could mean:**• These challenges might be in a different category or status• The technology keywords might be listed differently• New challenges with these technologies haven't been added yet
app.py+3-4