Spaces:
Running
Running
Update app.py
Browse files15 unmodified lines1617181920212215 unmodified lines text = data.get("text", "") # --- ضَع هنا منطقك الحقيقي (نموذج ذكاء اصطناعي، إلخ) --- return jsonify({"echo": text[::-1]}) # يعكس النص كمثال فقطfrom peer_discovery import PORT, PORT
if __name__ == "__main__": # Spaces يحقن متغيّر PORT تلقائياً (افتراضي 7860) :contentReference[oaicite:0]{index=0}app.py+1