mridulk commited on
Commit
e1beb15
1 Parent(s): 41138aa

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -0
app.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ import gradio
3
+
4
+
5
+ def doo(text_prompt):
6
+ return
7
+
8
+ iface = gr.Interface(
9
+ fn=doo,
10
+ inputs=gr.Textbox(label="Prompt"),
11
+ outputs=[
12
+ gr.Image(label="Generated Image"),
13
+ ]
14
+ )
15
+
16
+
17
+ if __name__ == "__main__":
18
+ iface.launch()