_js Gradio error

Hi! does anyone know a solution for this error?

2025-06-21 05:57:55.660354: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1750485475.953366 5374 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1750485476.025954 5374 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
patch_match compiling failed, will fall back to edge_pad
No module named ‘fpie’ so PhotometricCorrection is disabled
Traceback (most recent call last):
File “/content/sd-infinity/app.py”, line 1123, in
setup_button.click(
TypeError: EventListener._setup..event_trigger() got an unexpected keyword argument ‘_js’

1 Like

Newer version of Gradio changed the syntax from _js= to js=

2 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.