Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ def main():
|
|
119 |
with gr.Row():
|
120 |
with gr.Column():
|
121 |
with gr.Row():
|
122 |
-
inputs_img = gr.Image(image_mode="RGB",
|
123 |
with gr.Row():
|
124 |
inputs_lang = gr.CheckboxGroup(choices=["chi_sim", "eng"],
|
125 |
type="value",
|
|
|
119 |
with gr.Row():
|
120 |
with gr.Column():
|
121 |
with gr.Row():
|
122 |
+
inputs_img = gr.Image(image_mode="RGB", sources="upload", type="pil", label="图片")
|
123 |
with gr.Row():
|
124 |
inputs_lang = gr.CheckboxGroup(choices=["chi_sim", "eng"],
|
125 |
type="value",
|