hectorduran commited on
Commit
13bf5dc
·
1 Parent(s): 34fbbb2

Upload 3 files

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -37,8 +37,8 @@ def similarity(file1, file2):
37
 
38
  st.title('Text to Sound Comparing')
39
 
40
- texto1 = st.text_input('First text','live')
41
- texto2 = st.text_input('Second text','life')
42
 
43
  intercambiar = st.selectbox('Interchange texts', [False, True])
44
 
@@ -46,10 +46,10 @@ if intercambiar:
46
  texto1, texto2 = texto2, texto1
47
 
48
  if texto1=="":
49
- texto1="live"
50
 
51
  if texto2=="":
52
- texto2="life"
53
 
54
  if 1:
55
  engine = pyttsx3.init()
 
37
 
38
  st.title('Text to Sound Comparing')
39
 
40
+ texto1 = st.text_input('First text','hi')
41
+ texto2 = st.text_input('Second text','five')
42
 
43
  intercambiar = st.selectbox('Interchange texts', [False, True])
44
 
 
46
  texto1, texto2 = texto2, texto1
47
 
48
  if texto1=="":
49
+ texto1="hi"
50
 
51
  if texto2=="":
52
+ texto2="five"
53
 
54
  if 1:
55
  engine = pyttsx3.init()