danielritchie commited on
Commit
4a733cc
1 Parent(s): 85da076

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -4,15 +4,16 @@ import gradio as gr
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"]]
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"
 
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"]]
7
+
8
+ inputs=gr.Textbox(lines=5, label="Available Ingredients")
9
+ outputs=gr.components.Textbox(label="WARNING: Cook at your own risk."),
10
 
11
  gr.Interface.load("models/flax-community/t5-recipe-generation",
12
  title=title,
13
  description=description,
14
  examples=examples,
15
+ inputs=inputs,
16
+ outputs=outputs,
 
17
  #theme="finlaymacklon/boxy_violet"
18
  #theme="freddyaboulton/dracula_revamped"
19
  #theme="abidlabs/pakistan"