Spaces:
Sleeping
Sleeping
danielritchie
commited on
Commit
•
de6a36d
1
Parent(s):
7e5d871
Update app.py
Browse files
app.py
CHANGED
@@ -3,18 +3,19 @@ import gradio as gr
|
|
3 |
|
4 |
title="AI Peaks - Recipe-O-Matic"
|
5 |
description="Enter your available ingredients, let AI suggest a recipe."
|
6 |
-
|
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 |
-
|
13 |
inputs=gr.Textbox(lines=5, label="Available Ingredients"),
|
14 |
#outputs=outputs,
|
15 |
outputs=gr.components.Textbox(label="WARNING: Cook at your own risk."),
|
16 |
#theme="finlaymacklon/boxy_violet"
|
17 |
#theme="freddyaboulton/dracula_revamped"
|
18 |
-
theme="abidlabs/pakistan"
|
19 |
#theme="gradio/glass"
|
|
|
20 |
).launch()
|
|
|
3 |
|
4 |
title="AI Peaks - Recipe-O-Matic"
|
5 |
description="Enter your available ingredients, let AI suggest a recipe."
|
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="WARNING: Cook at your own risk."),
|
16 |
#theme="finlaymacklon/boxy_violet"
|
17 |
#theme="freddyaboulton/dracula_revamped"
|
18 |
+
#theme="abidlabs/pakistan"
|
19 |
#theme="gradio/glass"
|
20 |
+
theme="default"
|
21 |
).launch()
|