fffiloni commited on
Commit
8c17f89
·
verified ·
1 Parent(s): 20c426f

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def infer(un, deux, trois):
4
+ return "quatre"
5
+
6
+ gr.Interface(
7
+ fn = infer,
8
+ inputs=[gr.Textbox(label="style description"), gr.Image(label="Ref Style File", type="filepath"), gr.Textbox(label="caption")],
9
+ outputs=[gr.Textbox()]
10
+ ).launch()