tonyassi's picture
Update app.py
0684317 verified
raw
history blame
No virus
663 Bytes
import gradio as gr
with gr.Blocks() as demo:
gr.Markdown("""
# IP-Adapter Playground
by [Tony Assi](https://www.tonyassi.com/)
""")
with gr.Row():
with gr.Tab("Text-to-Image"):
text_ip = gr.Image()
text_textbox = gr.Textbox()
text_button = gr.Button("Generate")
with gr.Tab("Image-to-Image"):
image_ip = gr.Image()
image_image = gr.Image()
image_textbox = gr.Textbox()
image_button = gr.Button("Generate")
with gr.Tab("Inpainting"):
inpaint_button = gr.Button("Generate")
output_image = gr.Image()
demo.launch()