Spaces:
Sleeping
Sleeping
ok no commenting in then
Browse files
app.py
CHANGED
|
@@ -310,10 +310,10 @@ with gr.Blocks(title="Aesthetic Shadow - Anime Image Quality Classifier (CPU)",
|
|
| 310 |
with gr.TabItem("Single"):
|
| 311 |
uploaded_image = gr.Image(label="Drop or click to upload", type="filepath", elem_id="left_input_image")
|
| 312 |
url_input = gr.Textbox(label="Image URL (optional)", placeholder="https://...", lines=1)
|
| 313 |
-
#
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
|
| 318 |
with gr.Column(scale=1):
|
| 319 |
gr.Markdown("### Model & Run")
|
|
|
|
| 310 |
with gr.TabItem("Single"):
|
| 311 |
uploaded_image = gr.Image(label="Drop or click to upload", type="filepath", elem_id="left_input_image")
|
| 312 |
url_input = gr.Textbox(label="Image URL (optional)", placeholder="https://...", lines=1)
|
| 313 |
+
# it takes reaaaaally long and there is a bug i think where it will take images from both tabs instead of just the active one
|
| 314 |
+
with gr.TabItem("Batch"):
|
| 315 |
+
batch_files = gr.File(label="Upload multiple images (batch)", file_count="multiple", type="filepath")
|
| 316 |
+
batch_urls_text = gr.Textbox(label="Batch URLs (one per line)", placeholder="https://...", lines=4)
|
| 317 |
|
| 318 |
with gr.Column(scale=1):
|
| 319 |
gr.Markdown("### Model & Run")
|