tonyassi commited on
Commit
0684317
1 Parent(s): 5753d99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -4
app.py CHANGED
@@ -1,9 +1,23 @@
1
  import gradio as gr
2
 
3
  with gr.Blocks() as demo:
4
- with gr.Tab("Text-to-Image"):
5
- gr.Button("New Lion")
6
- with gr.Tab("Image-to-Image"):
7
- gr.Button("New Tiger")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  demo.launch()
 
1
  import gradio as gr
2
 
3
  with gr.Blocks() as demo:
4
+ gr.Markdown("""
5
+ # IP-Adapter Playground
6
+
7
+ by [Tony Assi](https://www.tonyassi.com/)
8
+ """)
9
+ with gr.Row():
10
+ with gr.Tab("Text-to-Image"):
11
+ text_ip = gr.Image()
12
+ text_textbox = gr.Textbox()
13
+ text_button = gr.Button("Generate")
14
+ with gr.Tab("Image-to-Image"):
15
+ image_ip = gr.Image()
16
+ image_image = gr.Image()
17
+ image_textbox = gr.Textbox()
18
+ image_button = gr.Button("Generate")
19
+ with gr.Tab("Inpainting"):
20
+ inpaint_button = gr.Button("Generate")
21
+ output_image = gr.Image()
22
 
23
  demo.launch()