ttnn-visualizer 0.37.1__py3-none-any.whl → 0.38.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ttnn_visualizer/file_uploads.py +2 -1
- ttnn_visualizer/settings.py +1 -0
- ttnn_visualizer/static/assets/{allPaths-BaKDx9R3.js → allPaths-CsCWH5EN.js} +1 -1
- ttnn_visualizer/static/assets/{allPathsLoader-DVskN3_V.js → allPathsLoader-HfSadDnW.js} +2 -2
- ttnn_visualizer/static/assets/{index-je2tF5Bg.css → index-BJweZJCB.css} +2 -2
- ttnn_visualizer/static/assets/{index-wX7GhuKE.js → index-c29v4T1e.js} +374 -393
- ttnn_visualizer/static/assets/{splitPathsBySizeLoader-BEIaCBcL.js → splitPathsBySizeLoader-CESplZaf.js} +1 -1
- ttnn_visualizer/static/index.html +2 -2
- ttnn_visualizer/views.py +1 -0
- {ttnn_visualizer-0.37.1.dist-info → ttnn_visualizer-0.38.1.dist-info}/LICENSE +54 -0
- {ttnn_visualizer-0.37.1.dist-info → ttnn_visualizer-0.38.1.dist-info}/METADATA +1 -1
- {ttnn_visualizer-0.37.1.dist-info → ttnn_visualizer-0.38.1.dist-info}/RECORD +16 -16
- {ttnn_visualizer-0.37.1.dist-info → ttnn_visualizer-0.38.1.dist-info}/LICENSE_understanding.txt +0 -0
- {ttnn_visualizer-0.37.1.dist-info → ttnn_visualizer-0.38.1.dist-info}/WHEEL +0 -0
- {ttnn_visualizer-0.37.1.dist-info → ttnn_visualizer-0.38.1.dist-info}/entry_points.txt +0 -0
- {ttnn_visualizer-0.37.1.dist-info → ttnn_visualizer-0.38.1.dist-info}/top_level.txt +0 -0
ttnn_visualizer/file_uploads.py
CHANGED
@@ -76,10 +76,11 @@ def save_uploaded_files(
|
|
76
76
|
scanned_files = scan_uploaded_files(files, base_directory, parent_folder_name)
|
77
77
|
|
78
78
|
for temp_path, dest_path in scanned_files:
|
79
|
-
if dest_path.parent.exists():
|
79
|
+
if not dest_path.parent.exists():
|
80
80
|
dest_path.parent.mkdir(exist_ok=True, parents=True)
|
81
81
|
|
82
82
|
logger.info(f"Saving uploaded file (clean): {dest_path}")
|
83
|
+
|
83
84
|
shutil.move(temp_path, dest_path)
|
84
85
|
else:
|
85
86
|
for file in files:
|
ttnn_visualizer/settings.py
CHANGED
@@ -22,6 +22,7 @@ class DefaultConfig(object):
|
|
22
22
|
o for o in os.getenv("ALLOWED_ORIGINS", "http://localhost:5173,http://localhost:8000").split(",")
|
23
23
|
if o
|
24
24
|
]
|
25
|
+
API_PATH = os.getenv("API_PATH", "/")
|
25
26
|
|
26
27
|
# Path Settings
|
27
28
|
DB_VERSION = "0.29.0" # App version when DB schema last changed
|
@@ -1 +1 @@
|
|
1
|
-
import{I as n}from"./index-BKzgFDAn.js";import{I as e}from"./index-BvSuWPlB.js";import{p as r,I as s}from"./index-
|
1
|
+
import{I as n}from"./index-BKzgFDAn.js";import{I as e}from"./index-BvSuWPlB.js";import{p as r,I as s}from"./index-c29v4T1e.js";function I(o,t){var a=r(o);return t===s.STANDARD?n[a]:e[a]}function p(o){return r(o)}export{n as IconSvgPaths16,e as IconSvgPaths20,I as getIconPaths,p as iconNameToPathsRecordKey};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/allPaths-
|
2
|
-
import{_ as o,a as n,b as i}from"./index-
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/allPaths-CsCWH5EN.js","assets/index-BKzgFDAn.js","assets/index-BvSuWPlB.js","assets/index-c29v4T1e.js","assets/index-BJweZJCB.css"])))=>i.map(i=>d[i]);
|
2
|
+
import{_ as o,a as n,b as i}from"./index-c29v4T1e.js";var _=function(e,a){return o(void 0,void 0,void 0,function(){var t;return n(this,function(r){switch(r.label){case 0:return[4,i(()=>import("./allPaths-CsCWH5EN.js"),__vite__mapDeps([0,1,2,3,4]))];case 1:return t=r.sent().getIconPaths,[2,t(e,a)]}})})};export{_ as allPathsLoader};
|