Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import pykakasi
|
|
5 |
import os
|
6 |
|
7 |
# ๋ฒ์ ์ ๋ณด
|
8 |
-
__version__ = "1.8.
|
9 |
|
10 |
# Kakasi ์ธ์คํด์ค ์์ฑ ๋ฐ ์ค์
|
11 |
kakasi = pykakasi.kakasi()
|
@@ -39,7 +39,7 @@ def search_and_update_history(keyword, conversion_type):
|
|
39 |
'''
|
40 |
return result, gr.update(value=audio_path, visible=True), gr.update(value=result_button_html, visible=True)
|
41 |
else:
|
42 |
-
return result, gr.update(visible=False), gr.update(visible
|
43 |
|
44 |
def search(keyword, conversion_type):
|
45 |
try:
|
@@ -67,7 +67,7 @@ def generate_audio_file(japanese_text):
|
|
67 |
return None
|
68 |
|
69 |
def clear_inputs():
|
70 |
-
return "", "", gr.update(visible=False), gr.update(visible
|
71 |
|
72 |
with gr.Blocks(css="""
|
73 |
#container {
|
|
|
5 |
import os
|
6 |
|
7 |
# ๋ฒ์ ์ ๋ณด
|
8 |
+
__version__ = "1.8.30"
|
9 |
|
10 |
# Kakasi ์ธ์คํด์ค ์์ฑ ๋ฐ ์ค์
|
11 |
kakasi = pykakasi.kakasi()
|
|
|
39 |
'''
|
40 |
return result, gr.update(value=audio_path, visible=True), gr.update(value=result_button_html, visible=True)
|
41 |
else:
|
42 |
+
return result, gr.update(visible=False), gr.update(visible=False)
|
43 |
|
44 |
def search(keyword, conversion_type):
|
45 |
try:
|
|
|
67 |
return None
|
68 |
|
69 |
def clear_inputs():
|
70 |
+
return "", "", gr.update(visible=False), gr.update(visible=False)
|
71 |
|
72 |
with gr.Blocks(css="""
|
73 |
#container {
|