Hugging Face's logo
YTheme
/
Runtime error

runtime error

onstructor instead. toggle_dark = gr.Button(value="Toggle Dark").style(full_width=True) /home/user/app/app.py:27: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not. toggle_dark = gr.Button(value="Toggle Dark").style(full_width=True) /home/user/app/app.py:60: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead. img = gr.Image( /home/user/app/app.py:80: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead. btn1 = gr.Button("Button 1").style(size="sm") /home/user/app/app.py:81: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead. btn2 = gr.File().style(size="sm", full_width=False) # Используйте gr.File вместо gr.UploadButton /home/user/app/app.py:81: GradioDeprecationWarning: Unknown style parameter: size btn2 = gr.File().style(size="sm", full_width=False) # Используйте gr.File вместо gr.UploadButton /home/user/app/app.py:81: GradioDeprecationWarning: Unknown style parameter: full_width btn2 = gr.File().style(size="sm", full_width=False) # Используйте gr.File вместо gr.UploadButton /home/user/app/app.py:82: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead. stop_btn = gr.Button("Stop", variant="stop").style(size="sm") /home/user/app/app.py:95: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead. gr.Gallery( /home/user/app/app.py:95: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'grid_cols' in the constructor instead. gr.Gallery( Traceback (most recent call last): File "/home/user/app/app.py", line 121, in <module> dropdown.change(None, dropdown, None, _js=js) NameError: name 'js' is not defined. Did you mean: 'os'?

Container logs:

Fetching error logs...