Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import plotly.graph_objects as go
|
|
6 |
|
7 |
api_key = st.secrets["openai_key"]
|
8 |
openai.api_key = api_key
|
9 |
-
st.header('Recipe Generation and Analysis')
|
10 |
st.markdown("Generate recipe from given ingredients and food name. Analyze the healthiness of the generated recipe. Tips: to make the recipe healthier, indicate healthiness in the food name (e.g., healthy chicken soup, very healthy fried rice, low-carb noodles)")
|
11 |
name = st.text_input('Food name (Optional)')
|
12 |
ingr = st.text_input('Ingredients')
|
|
|
6 |
|
7 |
api_key = st.secrets["openai_key"]
|
8 |
openai.api_key = api_key
|
9 |
+
st.header('GPT-based Recipe Generation and Nutrition Analysis')
|
10 |
st.markdown("Generate recipe from given ingredients and food name. Analyze the healthiness of the generated recipe. Tips: to make the recipe healthier, indicate healthiness in the food name (e.g., healthy chicken soup, very healthy fried rice, low-carb noodles)")
|
11 |
name = st.text_input('Food name (Optional)')
|
12 |
ingr = st.text_input('Ingredients')
|