Files changed (1) hide show
  1. app.py +10 -3
app.py CHANGED
@@ -1,8 +1,15 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
 
 
 
 
 
 
 
5
 
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
  iface.launch()
8
  #
 
1
  import gradio as gr
2
 
3
+ def translate_to_Konkani(sent):
4
+
5
+ input_text = sent.split(',')
6
+ output_texts=""
7
+ for x in input_text:
8
+
9
+ output_texts+=" "+ x
10
+
11
+ return output_texts
12
 
13
+ iface = gr.Interface(fn=translate_to_Konkani, inputs="text", outputs="text")
14
  iface.launch()
15
  #