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
This commit is contained in:
@@ -346,7 +346,6 @@ def create_app():
|
||||
server_name=str(server_name),
|
||||
server_port=int(server_port),
|
||||
css=accent_css,
|
||||
enable_api=False,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user