Spaces:
Build error
Build error
Create app.py
Browse files
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()
|