CU1-X / QUICK_DEPLOY.md
Abdelkader HASSINE
Deploy CU1-X to Hugging Face Spaces
ff03012
|
raw
history blame
1.04 kB

⚡ Déploiement Rapide - 2 Commandes

🚀 Déployer en 2 Étapes

1️⃣ Vérifier que tout est OK

./check_hf_space.sh

Résultat attendu: ✅ All checks passed!

2️⃣ Déployer vers HF Spaces

./deploy_hf_space.sh

C'est tout! 🎉

📡 Après le Déploiement

Votre Space sera accessible à:

🔌 Utiliser l'API

from gradio_client import Client

client = Client("AI-DrivenTesting/CU1-X")
result = client.predict(
    "screenshot.png",
    0.35, 2, True, True, False, False, "Only image & button",
    False, "RF-DETR Optimized (Recommended)", "standard",
    api_name="/predict"
)

annotated_image, summary, detections = result
print(detections)

Voir: API_USAGE.md pour plus d'exemples

⏱️ Temps de Build

  • Premier build: 5-10 minutes
  • Builds suivants: 2-3 minutes

C'est tout! Simple et rapide! 🚀