Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,23 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
with gr.Blocks() as demo:
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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()
|