from flask import Flask app = Flask(__name__) @app.route('/') def home(): return "Hello from Flask on Hugging Face Spaces!" if __name__ == '__main__': app.run(host='0.0.0.0', port=7860)