BilalSardar commited on
Commit
9e0ee47
1 Parent(s): 92b2c33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def RemoveText(image):
64
  img_text_removed = inpaint_text(image, pipeline)
65
  return cv2.cvtColor(img_text_removed, cv2.COLOR_BGR2RGB)
66
 
67
- iface = gr.Interface(fn=ApplyChange,
68
  inputs=gr.inputs.Image(label="Image to Remove Text From", type="numpy"),
69
  outputs="image",
70
  examples=[["1.jpg"]],
 
64
  img_text_removed = inpaint_text(image, pipeline)
65
  return cv2.cvtColor(img_text_removed, cv2.COLOR_BGR2RGB)
66
 
67
+ iface = gr.Interface(fn=RemoveText,
68
  inputs=gr.inputs.Image(label="Image to Remove Text From", type="numpy"),
69
  outputs="image",
70
  examples=[["1.jpg"]],