Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,22 @@ def get_response(query):
|
|
140 |
|
141 |
|
142 |
with gr.Blocks(theme=Base(), title="RAG Recipe AI") as demo:
|
143 |
-
gr.Markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
textbox = gr.Textbox(label="Question:")
|
145 |
with gr.Row():
|
146 |
button = gr.Button("Submit", variant="primary")
|
|
|
140 |
|
141 |
|
142 |
with gr.Blocks(theme=Base(), title="RAG Recipe AI") as demo:
|
143 |
+
gr.Markdown("""
|
144 |
+
# RAG Recipe AI
|
145 |
+
|
146 |
+
This model will answer all your recipe-related questions.
|
147 |
+
Enter a question about a recipe, and the system will return an answer based on 10,000 food.com recipes stored in the vector database. \n
|
148 |
+
Features Considered: \n
|
149 |
+
\t - Cook Time
|
150 |
+
\t - Nutrition Information
|
151 |
+
\t - Steps
|
152 |
+
\t - Ingredients
|
153 |
+
\t - Dish Description
|
154 |
+
Sample Queries: \n
|
155 |
+
\t - What is an easy dessert I can make with apples?
|
156 |
+
\t - What is the nutritional information of a Caesar salad?
|
157 |
+
\t - How many calories is in an average American burger?
|
158 |
+
""")
|
159 |
textbox = gr.Textbox(label="Question:")
|
160 |
with gr.Row():
|
161 |
button = gr.Button("Submit", variant="primary")
|