From 527d7c4abbafaaaf994662cdc50dd8f86eefa651 Mon Sep 17 00:00:00 2001 From: git workflows Date: Sun, 4 Aug 2024 16:25:04 +0000 Subject: [PATCH] develop add --- Pipfile.lock | 16 ++++++++-------- examples/image_super_resolution/requirements.txt | 1 + examples/separate_audio/requirements.txt | 2 +- playground/Dockerfile | 2 -- src/fastnode/_about.py | 2 +- src/fastnode/api/readyapi_utils.py | 2 +- src/fastnode/ui/streamlit_ui.py | 2 +- 7 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index 7703f15..3898805 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -191,7 +191,7 @@ "version": "==2.2.0" }, "fastnode": { - "version": "==0.0.12" + "version": "==0.0.0.dev1" }, "gitdb": { "hashes": [ @@ -824,7 +824,7 @@ "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==2.9.0.post0" }, "python-dotenv": { @@ -1069,7 +1069,7 @@ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==1.16.0" }, "smmap": { @@ -1117,7 +1117,7 @@ "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f" ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==0.10.2" }, "toolz": { @@ -1891,7 +1891,7 @@ "version": "==2.2.0" }, "fastnode": { - "version": "==0.0.12" + "version": "==0.0.0.dev1" }, "flake8": { "hashes": [ @@ -2755,7 +2755,7 @@ "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==2.9.0.post0" }, "python-dotenv": { @@ -3039,7 +3039,7 @@ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==1.16.0" }, "smmap": { @@ -3094,7 +3094,7 @@ "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f" ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==0.10.2" }, "toolz": { diff --git a/examples/image_super_resolution/requirements.txt b/examples/image_super_resolution/requirements.txt index 689445d..55d12d1 100644 --- a/examples/image_super_resolution/requirements.txt +++ b/examples/image_super_resolution/requirements.txt @@ -1,2 +1,3 @@ fastnode +h5py>2 git+https://github.com/idealo/image-super-resolution diff --git a/examples/separate_audio/requirements.txt b/examples/separate_audio/requirements.txt index 4a7cf72..539c6f5 100644 --- a/examples/separate_audio/requirements.txt +++ b/examples/separate_audio/requirements.txt @@ -1,4 +1,4 @@ fastnode # apt-get install ffmpeg -numpy==1.18.5 +numpy>=1.18.5 spleeter diff --git a/playground/Dockerfile b/playground/Dockerfile index f2ad3f2..6776ab9 100644 --- a/playground/Dockerfile +++ b/playground/Dockerfile @@ -208,8 +208,6 @@ RUN pip install $RESOURCES_PATH/fastnode.tar.gz # Copy playground app to demos folder COPY resources/playground_app.py $RESOURCES_PATH/demos/ -# Copy demos to demos folder -COPY resources/demos/ $RESOURCES_PATH/demos/ # Install ffmpeg for audio seperation demo RUN \ diff --git a/src/fastnode/_about.py b/src/fastnode/_about.py index 487e6a5..8a2385e 100644 --- a/src/fastnode/_about.py +++ b/src/fastnode/_about.py @@ -1,5 +1,5 @@ """Information about this library. This file will automatically changed.""" -__version__ = "0.0.12" +__version__ = "0.0.10" # __author__ # __email__ diff --git a/src/fastnode/api/readyapi_utils.py b/src/fastnode/api/readyapi_utils.py index 733addc..3ad67dd 100644 --- a/src/fastnode/api/readyapi_utils.py +++ b/src/fastnode/api/readyapi_utils.py @@ -3,8 +3,8 @@ import inspect from typing import Any, Type -from readyapi import ReadyAPI, Form from pydantic import BaseModel +from readyapi import Form, ReadyAPI def as_form(cls: Type[BaseModel]) -> Any: diff --git a/src/fastnode/ui/streamlit_ui.py b/src/fastnode/ui/streamlit_ui.py index af895f3..ece40ce 100644 --- a/src/fastnode/ui/streamlit_ui.py +++ b/src/fastnode/ui/streamlit_ui.py @@ -9,9 +9,9 @@ import pandas as pd import streamlit as st -from readyapi.encoders import jsonable_encoder from loguru import logger from pydantic import BaseModel, ValidationError, parse_obj_as +from readyapi.encoders import jsonable_encoder from fastnode import Fastnode from fastnode.core import name_to_title