From d51b006a199f6ff8843ab06a0f7e4dcb144a9c61 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 15 Jun 2026 04:06:55 +0000 Subject: [PATCH] Fix Gradio launch error and adjust upload template - Remove unsupported 'enable_api' argument from app.launch() - Hide API link via CSS instead - Remove queue-position paragraph from upload_notification_template.html --- misc/upload_notification_template.html | 1 - scraibe/webui.py | 1 - 2 files changed, 2 deletions(-) diff --git a/misc/upload_notification_template.html b/misc/upload_notification_template.html index 3606f03..2c7e41d 100644 --- a/misc/upload_notification_template.html +++ b/misc/upload_notification_template.html @@ -13,7 +13,6 @@

Upload Successful

Dear user,

Your file has been successfully uploaded and is now in our processing queue. This means that our system has received your file, and it is waiting to be processed. We will handle your file as soon as possible.

-

Your current position in the queue is: {queue_position_text}. This is the order in which your file will be processed. We appreciate your patience as we work through the queue.

We will notify you once your file has been processed. If you have any urgent needs or further questions, feel free to reach out to our support team.

You can contact our support team at {contact_email}. Please note that our support team is here to help with any questions or issues you might have.

diff --git a/scraibe/webui.py b/scraibe/webui.py index da6b655..7b22bfa 100644 --- a/scraibe/webui.py +++ b/scraibe/webui.py @@ -346,7 +346,6 @@ def create_app(): server_name=str(server_name), server_port=int(server_port), css=accent_css, - enable_api=False, )