dipeshsingh commited on
Commit
48ce9fc
1 Parent(s): de25bab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -1,7 +1,13 @@
1
  import gradio as gr
2
 
3
- def inputFromUser(name):
4
- return "Hello " + name + "!!"
 
 
 
 
 
 
5
 
6
  ui = gr.Interface(fn=inputFromUser, inputs="text", outputs="text")
7
  ui.launch()
 
1
  import gradio as gr
2
 
3
+ def stringClening(str){
4
+ print(str + "cleaned")
5
+ }
6
+
7
+ def inputFromUser(inputData):
8
+ return stringClening(inputData)
9
+
10
+
11
 
12
  ui = gr.Interface(fn=inputFromUser, inputs="text", outputs="text")
13
  ui.launch()