fffiloni commited on
Commit
af8fcb6
β€’
1 Parent(s): 160dd2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -124,7 +124,7 @@ def infer(prompt, input_wav_file, clean_audio, hidden_numpy_audio):
124
  NEW INFERENCE:
125
  β€”β€”β€”β€”β€”β€”β€”
126
  """)
127
- if prompt === "":
128
  gr.Warning("Do not forget to provide a tts prompt !")
129
 
130
  if clean_audio is True :
@@ -205,7 +205,7 @@ def infer_from_c(prompt, c_name):
205
  NEW INFERENCE:
206
  β€”β€”β€”β€”β€”β€”β€”
207
  """)
208
- if prompt === "":
209
  gr.Warning("Do not forget to provide a tts prompt !")
210
 
211
  print(f"USING VOICE LIBRARY: {c_name}")
 
124
  NEW INFERENCE:
125
  β€”β€”β€”β€”β€”β€”β€”
126
  """)
127
+ if prompt == "":
128
  gr.Warning("Do not forget to provide a tts prompt !")
129
 
130
  if clean_audio is True :
 
205
  NEW INFERENCE:
206
  β€”β€”β€”β€”β€”β€”β€”
207
  """)
208
+ if prompt == "":
209
  gr.Warning("Do not forget to provide a tts prompt !")
210
 
211
  print(f"USING VOICE LIBRARY: {c_name}")