Spaces:
Running
Running
ZeroGPU quota exceeded bug
#165
by
Korrumz2
- opened
When I try to use the API space
https://huggingface.co/spaces/OmniGen2/OmniGen2
via the @gradio/client libray
I have an error about the API limit being used, even though the zeroGPU usage status on the website shows that I still have the limit available.
make sure you set a duration or it will charge you for the entire 180 seconds
@spaces.GPU(duration=120)
def generate(prompt):
return pipe(prompt).images
Korrumz2
changed discussion status to
closed