Spaces:
Sleeping
Sleeping
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" | |
theme="default" | |
).launch() |