Spaces:
Runtime error
Runtime error
type str
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ css = ".output_image, .input_image {height: 40rem !important; width: 100% !impor
|
|
30 |
gr.Interface(
|
31 |
inference,
|
32 |
[gr.inputs.Image(type='file', label='Input'),gr.inputs.Dropdown(choices=['ch', 'en', 'fr', 'german', 'korean', 'japan'], type="value", default='en', label='language')],
|
33 |
-
[gr.outputs.Image(type='file', label='Output'), gr.outputs.Textbox(type='
|
34 |
title=title,
|
35 |
description=description,
|
36 |
article=article,
|
|
|
30 |
gr.Interface(
|
31 |
inference,
|
32 |
[gr.inputs.Image(type='file', label='Input'),gr.inputs.Dropdown(choices=['ch', 'en', 'fr', 'german', 'korean', 'japan'], type="value", default='en', label='language')],
|
33 |
+
[gr.outputs.Image(type='file', label='Output'), gr.outputs.Textbox(type='str', label='Prediction')],
|
34 |
title=title,
|
35 |
description=description,
|
36 |
article=article,
|