Spaces:
Sleeping
Sleeping
AnishKumbhar
commited on
Commit
•
a5519f2
1
Parent(s):
d637e6d
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
app = FastAPI(docs_url="/")
|
2 |
@app.get("/calculate-food")
|
3 |
def calculate_food_endpoint(activity: int, weight: int):
|
|
|
1 |
+
from fastapi import FastAPI
|
2 |
+
from transformers import pipeline
|
3 |
app = FastAPI(docs_url="/")
|
4 |
@app.get("/calculate-food")
|
5 |
def calculate_food_endpoint(activity: int, weight: int):
|