Package Details: python-gradio 3.20.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-gradio
Description: Create UIs for your machine learning model in Python in 3 minutes
Upstream URL:
Licenses: custom
Submitter: huyz
Maintainer: huyz
Last Packager: huyz
Votes: 1
Popularity: 0.173531
First Submitted: 2022-10-21 14:20 (UTC)
Last Updated: 2023-03-06 12:11 (UTC)

Latest Comments

Bluebomber182 commented on 2023-03-13 21:47 (UTC) (edited on 2023-03-13 21:48 (UTC) by Bluebomber182)

I got this error message

--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0x7fee02083d0d node::Abort() [/usr/bin/../lib/]
 2: 0x7fee01d68cdb node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/bin/../lib/]
 3: 0x7fee02447f64 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/../lib/]
 4: 0x7fee02448358 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/../lib/]
 5: 0x7fee0263aa3c  [/usr/bin/../lib/]
 6: 0x7fee02655224 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/../lib/]
 7: 0x7fee02655791 v8::internal::Heap::CollectAllGarbage(int, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/../lib/]
 8: 0x7fee025d39ed v8::internal::StackGuard::HandleInterrupts() [/usr/bin/../lib/]
 9: 0x7fee029f63a9 v8::internal::Runtime_StackGuard(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/../lib/]
10: 0x7fee023433f9  [/usr/bin/../lib/]
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @gradio/app@1.0.0 build:local: `vite build --mode production:local --emptyOutDir "--emptyOutDir"`
Command failed with signal "SIGABRT"
 ELIFECYCLE  Command failed.
./scripts/ line 11: 28491 Aborted                 pnpm build
==> ERROR: A failure occurred in build().

So I added this line to the .bashrc file and then I restarted the terminal.

export NODE_OPTIONS="--max-old-space-size=8192"

Then I had to install the pluggy module

python -m pip install pluggy