Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -2,8 +2,6 @@ import streamlit as st
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
st.set_page_config(page_title="FitPlan AI - BMI Calculator", page_icon="💪")
|
| 5 |
-
|
| 6 |
-
st.title("💪 FitPlan AI - Fitness Profile & BMI Calculator")
|
| 7 |
def load_model():
|
| 8 |
return pipeline(
|
| 9 |
"text-generation",
|
|
@@ -12,6 +10,8 @@ def load_model():
|
|
| 12 |
|
| 13 |
generator = load_model()
|
| 14 |
|
|
|
|
|
|
|
| 15 |
st.write("Fill in your details to calculate your BMI and fitness category.")
|
| 16 |
|
| 17 |
# -------------------------
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
st.set_page_config(page_title="FitPlan AI - BMI Calculator", page_icon="💪")
|
|
|
|
|
|
|
| 5 |
def load_model():
|
| 6 |
return pipeline(
|
| 7 |
"text-generation",
|
|
|
|
| 10 |
|
| 11 |
generator = load_model()
|
| 12 |
|
| 13 |
+
st.title("💪 FitPlan AI - Fitness Profile & BMI Calculator")
|
| 14 |
+
|
| 15 |
st.write("Fill in your details to calculate your BMI and fitness category.")
|
| 16 |
|
| 17 |
# -------------------------
|