blueradiance commited on
Commit
8a34feb
·
verified ·
1 Parent(s): 7073649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -293,14 +293,10 @@ with gr.Blocks() as demo:
293
  mapping_output = gr.Textbox(lines=10, label="🏷️ 태그 매핑", interactive=False)
294
 
295
  run_button.click(
296
- fn=apply_full_masking,
297
- inputs=[input_text, keyword_input, replace_input],
298
- outputs=[masked_output, mapping_output]
299
  )
300
 
301
  # ✅ 반드시 필요! Gradio 실행
302
- demo.launch()
303
-
304
-
305
-
306
  demo.launch()
 
293
  mapping_output = gr.Textbox(lines=10, label="🏷️ 태그 매핑", interactive=False)
294
 
295
  run_button.click(
296
+ fn=apply_masking, # ← 이걸로 바꿔야 실제 정의된 함수와 연결됨
297
+ inputs=[input_text, keyword_input, replace_input],
298
+ outputs=[masked_output, mapping_output]
299
  )
300
 
301
  # ✅ 반드시 필요! Gradio 실행
 
 
 
 
302
  demo.launch()