Luke
commited on
Commit
·
44eb855
1
Parent(s):
68e1313
no message
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def preprocess_and_llm(image, valid_type, language):
|
|
56 |
with gr.Blocks() as demo:
|
57 |
with gr.Row():
|
58 |
image_input = gr.Image(type="pil", label="上傳圖片")
|
59 |
-
validation_type = gr.Dropdown(choices=["身分證正面", "身分證反面"], label="驗證類別")
|
60 |
language_dropdown = gr.Dropdown(choices=languages, value="chi_tra", label="語言")
|
61 |
|
62 |
with gr.Row():
|
|
|
56 |
with gr.Blocks() as demo:
|
57 |
with gr.Row():
|
58 |
image_input = gr.Image(type="pil", label="上傳圖片")
|
59 |
+
validation_type = gr.Dropdown(choices=["純文字", "身分證正面", "身分證反面"], label="驗證類別")
|
60 |
language_dropdown = gr.Dropdown(choices=languages, value="chi_tra", label="語言")
|
61 |
|
62 |
with gr.Row():
|