Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,12 +4,12 @@ from tongue_model import TongueModelWrapper
|
|
| 4 |
wrapper = TongueModelWrapper(model_path="best_model.pt")
|
| 5 |
|
| 6 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 7 |
-
gr.Markdown("#
|
| 8 |
|
| 9 |
with gr.Row():
|
| 10 |
with gr.Column():
|
| 11 |
input_img = gr.Image(label="上傳舌象照片")
|
| 12 |
-
btn = gr.Button("
|
| 13 |
|
| 14 |
with gr.Column():
|
| 15 |
output_label = gr.Label(label="預測結果機率")
|
|
|
|
| 4 |
wrapper = TongueModelWrapper(model_path="best_model.pt")
|
| 5 |
|
| 6 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 7 |
+
gr.Markdown("# 中醫舌象自動診斷系統")
|
| 8 |
|
| 9 |
with gr.Row():
|
| 10 |
with gr.Column():
|
| 11 |
input_img = gr.Image(label="上傳舌象照片")
|
| 12 |
+
btn = gr.Button("開始分析", variant="primary")
|
| 13 |
|
| 14 |
with gr.Column():
|
| 15 |
output_label = gr.Label(label="預測結果機率")
|