Spaces:
Runtime error
Runtime error
from flask import Flask | |
app = Flask(__name__) | |
def index(): | |
return {"output": "Hello, world!"} | |
def predict(text): | |
return text | |
if __name__ == "__main__": | |
app.run(host="0.0.0.0", port=7860) | |