update
Browse files
app.py
CHANGED
@@ -109,6 +109,7 @@ with gr.Blocks() as demo:
|
|
109 |
gr.Markdown("## VTBench")
|
110 |
gr.Markdown("---")
|
111 |
|
|
|
112 |
gr.Markdown("👋 **Welcome to VTBench!** Upload an image, select models, and click 'Start Processing' to compare results side by side.")
|
113 |
gr.Markdown("🔗 **Check out our GitHub repo:** [https://github.com/huawei-lin/VTBench](https://github.com/huawei-lin/VTBench)")
|
114 |
with gr.Accordion("📘 Full Instructions", open=False):
|
@@ -120,7 +121,7 @@ with gr.Blocks() as demo:
|
|
120 |
- Click **Start Processing** to run inference.
|
121 |
- Selected model outputs appear first, others show placeholders.
|
122 |
|
123 |
-
⚠️
|
124 |
""")
|
125 |
|
126 |
image_input = gr.Image(
|
@@ -151,7 +152,7 @@ with gr.Blocks() as demo:
|
|
151 |
ex_img.select(fn=make_loader(), outputs=image_input)
|
152 |
|
153 |
gr.Markdown("---")
|
154 |
-
gr.Markdown("⚠️
|
155 |
gr.Markdown("*Note: Each model is downloaded on first use. Subsequent uses will load from cache and run faster.*")
|
156 |
|
157 |
display_names = list(model_name_mapping.values())
|
|
|
109 |
gr.Markdown("## VTBench")
|
110 |
gr.Markdown("---")
|
111 |
|
112 |
+
gr.Markdown("<span style='color:red; font-weight: bold;'>⚠️ ⚠️ ⚠️ If you encounter any errors, please try again — it usually works on the second attempt.</span>")
|
113 |
gr.Markdown("👋 **Welcome to VTBench!** Upload an image, select models, and click 'Start Processing' to compare results side by side.")
|
114 |
gr.Markdown("🔗 **Check out our GitHub repo:** [https://github.com/huawei-lin/VTBench](https://github.com/huawei-lin/VTBench)")
|
115 |
with gr.Accordion("📘 Full Instructions", open=False):
|
|
|
121 |
- Click **Start Processing** to run inference.
|
122 |
- Selected model outputs appear first, others show placeholders.
|
123 |
|
124 |
+
⚠️ *Each model is downloaded on first use. Please wait patiently the first time you run a model.*
|
125 |
""")
|
126 |
|
127 |
image_input = gr.Image(
|
|
|
152 |
ex_img.select(fn=make_loader(), outputs=image_input)
|
153 |
|
154 |
gr.Markdown("---")
|
155 |
+
gr.Markdown("⚠️ **The more models you select, the longer the processing time will be.**")
|
156 |
gr.Markdown("*Note: Each model is downloaded on first use. Subsequent uses will load from cache and run faster.*")
|
157 |
|
158 |
display_names = list(model_name_mapping.values())
|