goversetv commited on
Commit
82fb3eb
โ€ข
1 Parent(s): 2131c7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,7 +5,7 @@ import pykakasi
5
  import os
6
 
7
  # ๋ฒ„์ „ ์ •๋ณด
8
- __version__ = "1.8.29"
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(False))
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(False))
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 {