Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ examples = [['example.jpg','en']]
|
|
30 |
css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
|
31 |
gr.Interface(
|
32 |
inference,
|
33 |
-
[gr.inputs.Image(type='
|
34 |
# gr.outputs.Image(type='file', label='Output'),
|
35 |
outputs="text",
|
36 |
title=title,
|
|
|
30 |
css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
|
31 |
gr.Interface(
|
32 |
inference,
|
33 |
+
[gr.inputs.Image(type='filepath', label='Input'),gr.inputs.Dropdown(choices=['ch', 'en', 'fr', 'german', 'korean', 'japan'], type="value", default='ch', label='language')],
|
34 |
# gr.outputs.Image(type='file', label='Output'),
|
35 |
outputs="text",
|
36 |
title=title,
|