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.75
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-03 05:26 (UTC)

@Ragnor I have deleted gradio and tried to install it again and it’s working for me.

Ragnor commented on 2025-04-03 04:06 (UTC) (edited on 2025-04-03 04:12 (UTC) by Ragnor)

Since the new version still has the line python scripts/generate_theme.py in the build block, the build doesn't occur and ends with error, since the Gradio module for Python is required. I assume that if the removed lines are needed according to the rules of the contribution guide, then they should no longer be in the build block, but somewhere in the postscripts, when the program is already built and installed.

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.