danielritchie commited on
Commit
ffd1d18
1 Parent(s): d250411

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -2,20 +2,17 @@ import gradio as gr
2
 
3
  title="AI Peaks - Recipe-O-Matic"
4
  description="Enter your available ingredients, let AI suggest a recipe. Follow cooking instructions if you are bold."
5
- examples = [["eggs, potatoes"],["whole palisades peaches, pears, apples"],["tortillas, cheese, beans"]]
6
 
7
  inputs=gr.Textbox(lines=5, label="Available Ingredients")
8
  outputs=gr.components.Textbox(label="WARNING: Eat at your own risk.")
9
 
10
- additional_info = gr.Textbox(lines=3, label="Special Instructions")
11
-
12
  gr.Interface.load("models/flax-community/t5-recipe-generation",
13
  title=title,
14
  description=description,
15
  examples=examples,
16
  inputs=inputs,
17
  outputs=outputs,
18
- additional_info=additional_info,
19
  #theme="finlaymacklon/boxy_violet"
20
  #theme="freddyaboulton/dracula_revamped"
21
  #theme="abidlabs/pakistan"
 
2
 
3
  title="AI Peaks - Recipe-O-Matic"
4
  description="Enter your available ingredients, let AI suggest a recipe. Follow cooking instructions if you are bold."
5
+ examples = [["eggs, potatoes"],["ripe palisades peaches, pears, apples"],["tortillas, cheese, beans"]]
6
 
7
  inputs=gr.Textbox(lines=5, label="Available Ingredients")
8
  outputs=gr.components.Textbox(label="WARNING: Eat at your own risk.")
9
 
 
 
10
  gr.Interface.load("models/flax-community/t5-recipe-generation",
11
  title=title,
12
  description=description,
13
  examples=examples,
14
  inputs=inputs,
15
  outputs=outputs,
 
16
  #theme="finlaymacklon/boxy_violet"
17
  #theme="freddyaboulton/dracula_revamped"
18
  #theme="abidlabs/pakistan"