Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -96,6 +96,8 @@ def change_to_tts_mode(tts_mode):
|
|
96 |
return gr.Audio.update(visible=False), gr.Textbox.update(visible=True), gr.Dropdown.update(visible=True)
|
97 |
else:
|
98 |
return gr.Audio.update(visible=True), gr.Textbox.update(visible=False), gr.Dropdown.update(visible=False)
|
|
|
|
|
99 |
|
100 |
if __name__ == '__main__':
|
101 |
parser = argparse.ArgumentParser()
|
|
|
96 |
return gr.Audio.update(visible=False), gr.Textbox.update(visible=True), gr.Dropdown.update(visible=True)
|
97 |
else:
|
98 |
return gr.Audio.update(visible=True), gr.Textbox.update(visible=False), gr.Dropdown.update(visible=False)
|
99 |
+
def save_audio(audio):
|
100 |
+
return audio
|
101 |
|
102 |
if __name__ == '__main__':
|
103 |
parser = argparse.ArgumentParser()
|