leonsimon23 commited on
Commit
ef09370
·
verified ·
1 Parent(s): dd9ce1b

Update pdf2zh/gui.py

Browse files
Files changed (1) hide show
  1. pdf2zh/gui.py +1 -1
pdf2zh/gui.py CHANGED
@@ -366,7 +366,7 @@ with gr.Blocks(
366
  def on_select_service(service, evt: gr.EventData):
367
  if service_map[service][1]:
368
  apikey_content = gr.update(
369
- visible=True, value=os.environ.get(service_map[service][1])
370
  )
371
  else:
372
  apikey_content = gr.update(visible=False)
 
366
  def on_select_service(service, evt: gr.EventData):
367
  if service_map[service][1]:
368
  apikey_content = gr.update(
369
+ visible=False, value=os.environ.get(service_map[service][1])
370
  )
371
  else:
372
  apikey_content = gr.update(visible=False)