tonyassi commited on
Commit
d8ca99b
1 Parent(s): cd6df00

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
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")