File size: 676 Bytes
655980e
 
248ba11
76d194a
ae41774
2490512
e94034a
248ba11
 
 
76d194a
2490512
2dec7e1
e94034a
0020bc6
248ba11
 
 
103ed1e
8b4f6bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gradio as gr


title="AI Peaks - Recipe-O-Matic"
description="Enter your available ingredients, let AI suggest a recipe."
#examples = [["eggs potatoes"]]
#outputs=gr.components.Textbox(label="lols"),

gr.Interface.load("models/flax-community/t5-recipe-generation",  
    title=title,
    description=description,
    #examples=examples,
    inputs=gr.Textbox(lines=5, label="Available Ingredients"),
    #outputs=outputs,
    outputs=gr.components.Textbox(label="WARNING: Cook at your own risk."),                  
    #theme="finlaymacklon/boxy_violet",
    #theme="freddyaboulton/dracula_revamped",
    #theme="abidlabs/pakistan",
    theme="gradio/glass"
).launch()