Build error on spaces

The app.py works fine on local (gradio), but after commit/push the build process takes one or two hours and then hangs up showing the pink “Build errror” and Build timeout. It does not throw a specific error. The last line in the log reads
--> RUN --mount=target=pre-requirements.txt,source=pre-requirements.txt pip install --no-cache-dir -r pre-requirements.txt

Replying to myself: Factory rebuild (in Settings) solved the problem.

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