TomatoFT commited on
Commit
9399ae9
·
1 Parent(s): 1babb95

Fix: Debuging in the app code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def process_image(image, size):
39
  iface = gr.Interface(
40
  fn=process_image,
41
  inputs=[gr.Image(type="filepath", label="Upload Image"),
42
- gr.Slider(minimum=10, maximum=100, step=5, default=20, label="Text Size")],
43
  outputs="image",
44
  title="OCR Translation App",
45
  description="Upload an image and see the processed image with translated text."
 
39
  iface = gr.Interface(
40
  fn=process_image,
41
  inputs=[gr.Image(type="filepath", label="Upload Image"),
42
+ gr.Slider(minimum=10, maximum=100, step=5, label="Text Size")],
43
  outputs="image",
44
  title="OCR Translation App",
45
  description="Upload an image and see the processed image with translated text."