ironjr commited on
Commit
f537792
1 Parent(s): ea9eea4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -42,13 +42,11 @@ from huggingface_hub import snapshot_download
42
  from model import StreamMultiDiffusion
43
  from util import seed_everything
44
  from prompt_util import preprocess_prompts, _quality_dict, _style_dict
 
45
 
46
 
47
  ### Utils
48
 
49
-
50
-
51
-
52
  def log_state(state):
53
  pprint(vars(opt))
54
  if isinstance(state, gr.State):
@@ -1405,7 +1403,7 @@ async () => {{
1405
  api_name='draw',
1406
  )
1407
 
1408
- # iface.btn_share.click(None, [], [], js=share_js)
1409
 
1410
 
1411
 
 
42
  from model import StreamMultiDiffusion
43
  from util import seed_everything
44
  from prompt_util import preprocess_prompts, _quality_dict, _style_dict
45
+ from share_btn import share_js
46
 
47
 
48
  ### Utils
49
 
 
 
 
50
  def log_state(state):
51
  pprint(vars(opt))
52
  if isinstance(state, gr.State):
 
1403
  api_name='draw',
1404
  )
1405
 
1406
+ iface.btn_share.click(None, [], [], js=share_js)
1407
 
1408
 
1409