Spaces:
Sleeping
Sleeping
danielritchie
commited on
Commit
•
c8984d6
1
Parent(s):
c49a6b0
Update app.py
Browse files
app.py
CHANGED
@@ -2,11 +2,11 @@ import gradio as gr
|
|
2 |
|
3 |
|
4 |
title="AI Peaks - Recipe-O-Matic"
|
5 |
-
description="Enter your available ingredients, let AI suggest a recipe."
|
6 |
examples = [["eggs, potatoes"],["peaches, pears, apples"],["tortillas, cheese, beans"]]
|
7 |
|
8 |
inputs=gr.Textbox(lines=5, label="Available Ingredients")
|
9 |
-
outputs=gr.components.Textbox(label="WARNING:
|
10 |
|
11 |
gr.Interface.load("models/flax-community/t5-recipe-generation",
|
12 |
title=title,
|
|
|
2 |
|
3 |
|
4 |
title="AI Peaks - Recipe-O-Matic"
|
5 |
+
description="Enter your available ingredients, let AI suggest a recipe. Follow cooking instructions if you are bold."
|
6 |
examples = [["eggs, potatoes"],["peaches, pears, apples"],["tortillas, cheese, beans"]]
|
7 |
|
8 |
inputs=gr.Textbox(lines=5, label="Available Ingredients")
|
9 |
+
outputs=gr.components.Textbox(label="WARNING: Eat at your own risk.")
|
10 |
|
11 |
gr.Interface.load("models/flax-community/t5-recipe-generation",
|
12 |
title=title,
|