diff --git a/modules/image/industrial_application/meter_readings/barometer_reader/requirements.txt b/modules/image/industrial_application/meter_readings/barometer_reader/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..2b801c41fabee3640316419344f036d9c963e36a --- /dev/null +++ b/modules/image/industrial_application/meter_readings/barometer_reader/requirements.txt @@ -0,0 +1 @@ +paddlex == 1.3.0 \ No newline at end of file diff --git a/paddlehub/server/server.py b/paddlehub/server/server.py index 64d8f61ca7177a810336f4b14cac67b662e15611..840549c24c62e3438b1fc37ffa4fe1c198f7a4dc 100644 --- a/paddlehub/server/server.py +++ b/paddlehub/server/server.py @@ -159,7 +159,7 @@ class CacheUpdater(threading.Thread): if version: payload['version'] = version api_url = uri_path(hubconf.server, 'search') - cache_path = os.path.join("~") + cache_path = os.path.join("~") hub_name = cache_config.hub_name if os.path.exists(cache_path): extra = {"command": command, "mtime": os.stat(cache_path).st_mtime, "hub_name": hub_name}