Spaces:
Sleeping
Sleeping
danielritchie
commited on
Commit
•
e94034a
1
Parent(s):
2490512
Update app.py
Browse files
app.py
CHANGED
@@ -2,16 +2,17 @@ import gradio as gr
|
|
2 |
|
3 |
|
4 |
title="Recipe-O-Matic"
|
5 |
-
description="Enter your available ingredients, let AI suggest a recipe. WARNING: Cook at your own risk.",
|
6 |
#examples = [["eggs potatoes"]]
|
7 |
-
outputs=gr.components.Textbox(label="lols"),
|
8 |
|
9 |
gr.Interface.load("models/flax-community/t5-recipe-generation",
|
10 |
title=title,
|
11 |
description=description,
|
12 |
#examples=examples,
|
13 |
inputs=gr.Textbox(lines=5, label="Available Ingredients"),
|
14 |
-
outputs=outputs,
|
|
|
15 |
#theme="finlaymacklon/boxy_violet",
|
16 |
#theme="freddyaboulton/dracula_revamped",
|
17 |
#theme="abidlabs/pakistan",
|
|
|
2 |
|
3 |
|
4 |
title="Recipe-O-Matic"
|
5 |
+
#description="Enter your available ingredients, let AI suggest a recipe. WARNING: Cook at your own risk.",
|
6 |
#examples = [["eggs potatoes"]]
|
7 |
+
#outputs=gr.components.Textbox(label="lols"),
|
8 |
|
9 |
gr.Interface.load("models/flax-community/t5-recipe-generation",
|
10 |
title=title,
|
11 |
description=description,
|
12 |
#examples=examples,
|
13 |
inputs=gr.Textbox(lines=5, label="Available Ingredients"),
|
14 |
+
#outputs=outputs,
|
15 |
+
outputs=gr.components.Textbox(label="lols"),
|
16 |
#theme="finlaymacklon/boxy_violet",
|
17 |
#theme="freddyaboulton/dracula_revamped",
|
18 |
#theme="abidlabs/pakistan",
|