adding broken gradio default.nix

This commit is contained in:
Rolf Verschuuren 2022-10-21 13:00:21 +02:00 committed by gbtb
parent 3bf46457ca
commit 8f8ab76322
2 changed files with 30 additions and 0 deletions

View File

@ -28,6 +28,9 @@
yapf
gdown
lpips
fastapi
lark
gradio
albumentations
opencv4
@ -97,6 +100,7 @@
filterpy = callPackage ./packages/filterpy { };
kornia = callPackage ./packages/kornia { };
lpips = callPackage ./packages/lpips { };
gradio = callPackage ./packages/gradio { };
torch-fidelity = callPackage ./packages/torch-fidelity { };
resize-right = callPackage ./packages/resize-right { };
torchdiffeq = callPackage ./packages/torchdiffeq { };

View File

@ -0,0 +1,26 @@
# WARNING: This file was automatically generated. You should avoid editing it.
# If you run pynixify again, the file will be either overwritten or
# deleted, and you will lose the changes you made to it.
{ buildPythonPackage, fetchPypi, lib }:
buildPythonPackage rec {
pname = "gradio";
version = "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "123123123132";
};
propagatedBuildInputs =
[ ];
# TODO FIXME
doCheck = false;
meta = with lib; {
description = "Build Machine Learning Web Apps";
homepage = "https://gradio.app/";
};
}