Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ examples = [['english.png','en'],['spanish.png','es']]
|
|
35 |
css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
|
36 |
app = gr.Interface(
|
37 |
inference,
|
38 |
-
[gr.Image(type='filepath', label='Input'), type="value", value='ch')],
|
39 |
# gr.outputs.Image(type='file', label='Output'),
|
40 |
outputs=["image", "text", "text"],
|
41 |
title=title,
|
|
|
35 |
css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
|
36 |
app = gr.Interface(
|
37 |
inference,
|
38 |
+
[gr.Image(type='filepath', label='Input'), type="value", value='ch', label='language')],
|
39 |
# gr.outputs.Image(type='file', label='Output'),
|
40 |
outputs=["image", "text", "text"],
|
41 |
title=title,
|