update theme
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def process_image(input_image:Image, meter_type:str):
|
|
36 |
plt.clf()
|
37 |
return img, f"辨識結果: PSI={meter_result.needle_psi:.1f} kg/cm²={meter_result.needle_kg_cm2:.2f} ", fig_img
|
38 |
|
39 |
-
with gr.Blocks() as demo:
|
40 |
|
41 |
gr.Markdown("## 指針辨識系統\n請選擇儀表類型,上傳圖片,或點擊Submit")
|
42 |
|
|
|
36 |
plt.clf()
|
37 |
return img, f"辨識結果: PSI={meter_result.needle_psi:.1f} kg/cm²={meter_result.needle_kg_cm2:.2f} ", fig_img
|
38 |
|
39 |
+
with gr.Blocks(theme='Hev832/Applio') as demo:
|
40 |
|
41 |
gr.Markdown("## 指針辨識系統\n請選擇儀表類型,上傳圖片,或點擊Submit")
|
42 |
|