Spaces:
Sleeping
Sleeping
fix: add huggingface config for Flask app
Browse files- app.py +3 -2
- huggingface.yml +3 -0
app.py
CHANGED
|
@@ -9,5 +9,6 @@ app.register_blueprint(home_bp)
|
|
| 9 |
app.register_blueprint(chat_bp)
|
| 10 |
app.register_blueprint(profile_bp)
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
| 9 |
app.register_blueprint(chat_bp)
|
| 10 |
app.register_blueprint(profile_bp)
|
| 11 |
|
| 12 |
+
|
| 13 |
+
def create_app():
|
| 14 |
+
return app
|
huggingface.yml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
sdk: flask
|
| 2 |
+
app_file: app.py
|
| 3 |
+
python_version: "3.10"
|