Spaces:
Sleeping
Sleeping
dipeshsingh
commited on
Commit
•
48ce9fc
1
Parent(s):
de25bab
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
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()
|