Ianisq1 commited on
Commit
39cdb7f
·
verified ·
1 Parent(s): b8138b8
Files changed (1) hide show
  1. Voice +10 -0
Voice CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  import speech_recognition as sr
2
  from google.cloud import translate_v2 as translate
3
  from gtts import gTTS
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ demo.launch()
8
+
9
+
10
+
11
  import speech_recognition as sr
12
  from google.cloud import translate_v2 as translate
13
  from gtts import gTTS