File size: 664 Bytes
655980e
 
248ba11
 
 
 
103ed1e
248ba11
 
 
 
 
2dec7e1
248ba11
 
 
 
103ed1e
8b4f6bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import gradio as gr


title="Recipe-O-Matic"
description="Select a Category, enter a Topic, and click Submit to find out how generative Yo Momma is.<br><br>You can also try selecting one of the supplied examples.",
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,
    #theme="finlaymacklon/boxy_violet",
    #theme="freddyaboulton/dracula_revamped",
    #theme="abidlabs/pakistan",
    theme="gradio/glass"
).launch()