bvishnu123 commited on
Commit
a479e48
1 Parent(s): 7be4408

added app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def concat_text(title, description):
4
+ return title + " " + description
5
+
6
+ inputs = [
7
+ gr.inputs.Textbox(label="Title"),
8
+ gr.inputs.Textbox(label="Description")
9
+ ]
10
+
11
+ output = gr.outputs.Textbox(label="Output")
12
+
13
+ app = gr.Interface(fn=concat_text, inputs=inputs, outputs=output)
14
+ app.launch()