ai_backend / README.md
sumit989's picture
Update README.md
d895892 verified

A newer version of the Gradio SDK is available: 6.12.0

Upgrade
metadata
title: Sumit
emoji: πŸ‘€
colorFrom: gray
colorTo: gray
sdk: gradio
sdk_version: 6.11.0
app_file: app.py
pinned: false
short_description: a ai backend for meta

🧠 CodeRescue

CodeRescue is an AI-powered backend that analyzes, detects, and fixes broken code in real-time while maintaining performance and reliability under strict constraints.


πŸš€ Live Demo

πŸ‘‰ https://sumit989bishnoi-crypto.github.io/ai-frontend/


πŸ› οΈ How to Use

  1. Open the live demo
  2. Paste your broken code
  3. Get instant fixes and short explanations
  4. Copy and use the corrected code

βš™οΈ Tech Stack

  • HTML, JavaScript (Frontend)
  • Python (Flask Backend)
  • Hugging Face (AI Inference API)

✨ Features

  • ⚑ Fast response time (~2–4 seconds)
  • 🧠 AI-powered debugging and fixing
  • πŸ›‘οΈ Stable JSON output handling
  • πŸ”’ Rate limiting for reliability
  • πŸ“¦ Token-optimized responses
  • ❌ No login required

πŸ’‘ Why CodeRescue?

Unlike basic AI tools, CodeRescue is designed with:

  • performance optimization
  • error handling
  • consistent output under limits

This makes it reliable for real-world usage and hackathon evaluation environments.


Environment

State:

  • code: broken code

Action:

  • fixed_code: corrected code

Reward:

  • 1.0 β†’ correct fix
  • 0.5 β†’ partial fix
  • 0.0 β†’ wrong

πŸ–ΌοΈ Preview

image

πŸ“Œ Note

This project was built for a hackathon and focuses on creating a fast, stable, and practical AI debugging system rather than just a powerful model.