Spaces:
Runtime error
Runtime error
Commit
·
a035bcc
1
Parent(s):
35adf34
Update app.py
Browse files
app.py
CHANGED
@@ -246,6 +246,9 @@ def imageAPI(size, id):
|
|
246 |
@app.route('/', methods=["GET"])
|
247 |
def home():
|
248 |
return render_template("index.html")
|
|
|
|
|
|
|
249 |
|
250 |
if __name__ == '__main__':
|
251 |
app.run(host='0.0.0.0', port=7860)
|
|
|
246 |
@app.route('/', methods=["GET"])
|
247 |
def home():
|
248 |
return render_template("index.html")
|
249 |
+
@app.route('/hello', methods=["GET"])
|
250 |
+
def hello():
|
251 |
+
return "hello picxai"
|
252 |
|
253 |
if __name__ == '__main__':
|
254 |
app.run(host='0.0.0.0', port=7860)
|