MobileCLI / app.py
NeoLee's picture
create app
7ddaf02 verified
raw
history blame contribute delete
284 Bytes
from flask import Flask
import os
app = Flask(__name__)
@app.route('/')
def home():
return {"status": "running", "msg": "Gemini CLI Backend is live on HF Spaces"}
if __name__ == "__main__":
# 注意:HF 强制要求监听 7860 端口
app.run(host='0.0.0.0', port=7860)