Package Details: python-gradio 5.23.3-1

Git Clone URL: https://aur.archlinux.org/python-gradio.git (read-only, click to copy)
Package Base: python-gradio
Description: Python library for easily interacting with trained machine learning models.
Upstream URL: https://github.com/gradio-app/gradio
Keywords: python-gradio
Licenses: Apache-2.0
Submitter: huyz
Maintainer: medaminezghal
Last Packager: medaminezghal
Votes: 3
Popularity: 0.80
First Submitted: 2022-10-21 14:20 (UTC)
Last Updated: 2025-04-02 19:30 (UTC)

Latest Comments

1 2 Next › Last »

medaminezghal commented on 2025-04-02 19:00 (UTC) (edited on 2025-04-02 19:00 (UTC) by medaminezghal)

@Ragnor I'm following the contribution guide and it's follow the rules:

python -c "import gradio" needed to generate pyi file
python scripts/generate_theme.py needed to generate the theme

Please test the new version and tell me if there is any problem.

Ragnor commented on 2025-04-02 16:47 (UTC) (edited on 2025-04-02 16:50 (UTC) by Ragnor)

In the Build block, the lines are clearly unnecessary and need to be removed:
python ${_name}/init.py
python scripts/generate_theme.py


After which a successful build occurs.

MonkeeSage commented on 2025-03-25 07:07 (UTC)

@medaminezghal

Package currently does not build. Seems to be trying to import gradio but it's obviously not installed yet...

==> Starting build()...
Traceback (most recent call last):
  File "/home/<user>/.cache/yay/python-gradio/src/gradio-gradio-5.22.0/gradio/__init__.py", line 3, in <module>
    import gradio._simple_templates
ModuleNotFoundError: No module named 'gradio'
==> ERROR: A failure occurred in build().
    Aborting...

Seems to be caused by trying to call python ${_name}/__init__.py in build()

medaminezghal commented on 2025-02-21 10:38 (UTC)

@maderios Those packages exist in AUR so you need yay to install them.

maderios commented on 2025-02-21 10:36 (UTC) (edited on 2025-02-21 10:42 (UTC) by maderios)

@medaminezghal It's just misunderstanding. Thanks

medaminezghal commented on 2025-02-21 10:23 (UTC) (edited on 2025-02-21 10:28 (UTC) by medaminezghal)

@maderios this problem related to jax not to gradio. Also, there is a fix for the build process in comments of the python-jaxlib package.

Cr0c0d1Le commented on 2023-12-11 17:27 (UTC) (edited on 2023-12-11 17:28 (UTC) by Cr0c0d1Le)

Installtion failed with error below:

error: can't build python-gradio-4.8.0-1, deps not satisfied: python-gradio-client

error: can't build python-gradio-client-0.7.1-1, deps not satisfied: python-gradio

It seems like a circular dependency problem?

niva commented on 2023-04-30 11:35 (UTC) (edited on 2023-04-30 11:36 (UTC) by niva)

Installation stops with:

ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE  Cannot perform a frozen installation because the version of the lockfile is incompatible with this version of pnpm

:(

Henry-ZHR commented on 2023-04-22 08:37 (UTC)

Missing dependency python-aiofiles