openfree commited on
Commit
89f0877
ยท
verified ยท
1 Parent(s): 776c884

Update mouse.py

Browse files
Files changed (1) hide show
  1. mouse.py +3 -4
mouse.py CHANGED
@@ -902,13 +902,11 @@ def handle_boost(prompt: str):
902
  print(f"Boost ์ฒ˜๋ฆฌ ์ค‘ ์˜ค๋ฅ˜: {str(e)}")
903
  return prompt, gr.update(active_key="empty")
904
 
905
-
906
- # ํŒŒ์ผ ์ƒ๋‹จ์— ํ•œ ๋ฒˆ๋งŒ ์„ ์–ธ
907
  mouse_interface = None
908
 
909
- # with gr.Blocks ๋ถ€๋ถ„์—์„œ ์„ค์ •
910
  with gr.Blocks(css_paths="app.css",theme=theme) as demo:
911
- global mouse_interface
912
  mouse_interface = demo
913
 
914
  history = gr.State([])
@@ -916,6 +914,7 @@ with gr.Blocks(css_paths="app.css",theme=theme) as demo:
916
  "system": SystemPrompt,
917
  })
918
 
 
919
  with ms.Application() as app:
920
  with antd.ConfigProvider():
921
  # Drawer ์ปดํฌ๋„ŒํŠธ๋“ค
 
902
  print(f"Boost ์ฒ˜๋ฆฌ ์ค‘ ์˜ค๋ฅ˜: {str(e)}")
903
  return prompt, gr.update(active_key="empty")
904
 
905
+ # ํŒŒ์ผ ์ƒ๋‹จ์—์„œ ์ „์—ญ ๋ณ€์ˆ˜ ์„ ์–ธ
 
906
  mouse_interface = None
907
 
 
908
  with gr.Blocks(css_paths="app.css",theme=theme) as demo:
909
+ # global ํ‚ค์›Œ๋“œ ์ œ๊ฑฐ (์ด๋ฏธ ์ƒ๋‹จ์—์„œ ์„ ์–ธํ–ˆ์œผ๋ฏ€๋กœ)
910
  mouse_interface = demo
911
 
912
  history = gr.State([])
 
914
  "system": SystemPrompt,
915
  })
916
 
917
+
918
  with ms.Application() as app:
919
  with antd.ConfigProvider():
920
  # Drawer ์ปดํฌ๋„ŒํŠธ๋“ค