Gainward777 commited on
Commit
bea529c
·
verified ·
1 Parent(s): b0858dc

Update ui/gradio_ui.py

Browse files
Files changed (1) hide show
  1. ui/gradio_ui.py +2 -1
ui/gradio_ui.py CHANGED
@@ -1,8 +1,9 @@
1
  import gradio as gr
2
  from PIL import Image
 
3
 
4
 
5
- SER_SKETCH=None
6
 
7
  def get_img_from_sketchpad(img):
8
  return Image.fromarray(img["composite"])
 
1
  import gradio as gr
2
  from PIL import Image
3
+ import numpy as np
4
 
5
 
6
+ SER_SKETCH=Image.fromarray(np.zeros((1024,1024)))
7
 
8
  def get_img_from_sketchpad(img):
9
  return Image.fromarray(img["composite"])