Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from flask import Flask, render_template, request, url_for
|
| 2 |
+
app = Flask(__name__)
|
| 3 |
+
|
| 4 |
+
@app.route('/')
|
| 5 |
+
def home():
|
| 6 |
+
return "hello from flask on hugging face"
|
| 7 |
+
if __name__ == '__main__':
|
| 8 |
+
app.run(debug=True, host="0.0.0.0", port=7860)
|
| 9 |
+
|