Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -848,9 +848,7 @@ if __name__ == "__main__":
|
|
| 848 |
print(calculator.generate_report(results))
|
| 849 |
|
| 850 |
|
| 851 |
-
from flask import Flask, request, jsonify
|
| 852 |
|
| 853 |
-
app = Flask(__name__)
|
| 854 |
|
| 855 |
@app.route('/calculation', methods=['POST'])
|
| 856 |
def handle_calculation():
|
|
|
|
| 848 |
print(calculator.generate_report(results))
|
| 849 |
|
| 850 |
|
|
|
|
| 851 |
|
|
|
|
| 852 |
|
| 853 |
@app.route('/calculation', methods=['POST'])
|
| 854 |
def handle_calculation():
|