Download app.py from austinsd/sample2: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/austinsd/sample2/resolve/main/app.py
- Command line
-
hf download hf://spaces/austinsd/sample2/app.py
-
curl -L -o app.py https://huggingface.co/spaces/austinsd/sample2/resolve/main/app.py
277 Bytes
| from flask import Flask, request, jsonify | |
| import joblib | |
| import pandas as pd | |
| import numpy as np | |
| app = Flask(__name__) | |
| def home(): | |
| return "Welcome to the SuperKart Sales Prediction API!" | |
| if __name__ == '__main__': | |
| app.run(host='0.0.0.0', port=5000) | |