ASomeoneWhoInterestedWithAI commited on
Commit
ceb8453
·
verified ·
1 Parent(s): a5137a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -179,7 +179,7 @@ with gr.Blocks() as demo:
179
  image_mode="L",
180
  height=280,
181
  width=280,
182
- source="canvas", # Mengaktifkan mode kanvas untuk menggambar
183
  invert_colors=True, # Membalik warna: latar hitam, coretan putih
184
  brush=gr.Brush(default_color="rgb(0,0,0)", color_mode="fixed") # Kuas hitam (akan dibalik jadi putih)
185
  )
 
179
  image_mode="L",
180
  height=280,
181
  width=280,
182
+ sources="canvas", # Mengaktifkan mode kanvas untuk menggambar
183
  invert_colors=True, # Membalik warna: latar hitam, coretan putih
184
  brush=gr.Brush(default_color="rgb(0,0,0)", color_mode="fixed") # Kuas hitam (akan dibalik jadi putih)
185
  )