new_app / app.py
Nechama's picture
Update app.py
e375416 verified
raw
history blame
483 Bytes
import gradio as gr
def process_recipe(i,j):
return "Thank you"
iface = gr.Interface(
fn=process_recipe,
inputs=[
gr.components.Image(type="filepath", label="Recipe Image"),
gr.components.Radio(choices=["Double","Triple", "Half", "Third"], label="Action")
],
outputs="text",
title="Recipe Modifier",
description="Upload an image of a recipe and choose how to modify the measurements.",
)
if __name__ == "__main__":
iface.launch()