[Admin maintenance] Support new ZeroGPU hardware

#35
by multimodalart HF Staff - opened

The app currently crashes on startup:

  • @spaces.GPU is used but spaces is never imported (NameError at import).
  • The .style(...) calls on Textbox/Button/Gallery are Gradio 3 API and were removed in Gradio 4+, so they raise on the pinned sdk_version 5.50.0.

This adds import spaces (before torch) and moves the styling into the component constructors (container/scale, columns/height). No behavior change otherwise.

multimodalart changed pull request title from Fix import spaces and port .style() to current Gradio API to [Admin maintenance] Support new ZeroGPU hardware
multimodalart changed pull request status to merged

Sign up or log in to comment