Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
with gr.Blocks() as demo:
|
4 |
+
with gr.Tab("Text-to-Image"):
|
5 |
+
gr.Image("lion.jpg")
|
6 |
+
gr.Button("New Lion")
|
7 |
+
with gr.Tab("Image-to-Image"):
|
8 |
+
gr.Image("tiger.jpg")
|
9 |
+
gr.Button("New Tiger")
|