mooncake030 commited on
Commit
0193e72
·
1 Parent(s): b49d997

hide sidebar by default

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,7 +71,7 @@ class App:
71
  gr.HTML("<h1>✍️ 假名手寫練習</h1>")
72
  self.init_practice_tab()
73
 
74
- with gr.Sidebar():
75
  self.init_setting_tab()
76
 
77
  def init_states(self):
@@ -91,7 +91,7 @@ class App:
91
  label="🖊️ 寫字板",
92
  )
93
 
94
- self.target_txt = gr.TextArea(self.default_roma, lines=1, label="🎯 練習目標")
95
  self.result_txt = gr.TextArea(lines=2, label="💯 辨識結果")
96
 
97
  with gr.Row():
 
71
  gr.HTML("<h1>✍️ 假名手寫練習</h1>")
72
  self.init_practice_tab()
73
 
74
+ with gr.Sidebar(open=False):
75
  self.init_setting_tab()
76
 
77
  def init_states(self):
 
91
  label="🖊️ 寫字板",
92
  )
93
 
94
+ self.target_txt = gr.Textbox(self.default_roma, label="🎯 練習目標")
95
  self.result_txt = gr.TextArea(lines=2, label="💯 辨識結果")
96
 
97
  with gr.Row():