recipe-o-matic / app.py
danielritchie's picture
Update app.py
de6a36d
raw
history blame
692 Bytes
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()