ysharma HF staff commited on
Commit
ede28d3
·
1 Parent(s): bb3cac4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ pipeline = keras_ocr.pipeline.Pipeline()
154
  gr.Interface(
155
  translate_image,
156
  [gr.inputs.Image(type="filepath", label="Input"), gr.inputs.Radio(choices=['hindi','spanish','french','turkish','german','irish', 'arabic'], type="value", default='hindi', label='Choose A Language')],
157
- gr.outputs.Image(type="pil", label="Output"), "text",
158
  title=title,
159
  description=description,
160
  article=article,
 
154
  gr.Interface(
155
  translate_image,
156
  [gr.inputs.Image(type="filepath", label="Input"), gr.inputs.Radio(choices=['hindi','spanish','french','turkish','german','irish', 'arabic'], type="value", default='hindi', label='Choose A Language')],
157
+ gr.outputs.Image(type="pil", label="Output"),
158
  title=title,
159
  description=description,
160
  article=article,