Compare commits
2 Commits
450f6b23e0
...
091a2a0f97
Author | SHA1 | Date | |
---|---|---|---|
091a2a0f97 | |||
48326c6335 |
@@ -37,7 +37,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Run safety vulnerability check
|
- name: Run safety vulnerability check
|
||||||
run: uv run safety check --json --output safety-report.json
|
run: uv run safety check --json --save-json safety-report.json
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Upload security reports
|
- name: Upload security reports
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
import json
|
import json
|
||||||
import uuid
|
import uuid
|
||||||
import base64
|
import base64
|
||||||
from typing import List, Union
|
from typing import List
|
||||||
from ..models.schemas import Document, ProcessedData
|
from ..models.schemas import Document
|
||||||
|
|
||||||
|
|
||||||
class NDJSONParser:
|
class NDJSONParser:
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from typing import Optional, Tuple
|
|
||||||
from sklearn.decomposition import PCA
|
from sklearn.decomposition import PCA
|
||||||
import umap
|
import umap
|
||||||
from openTSNE import TSNE
|
from openTSNE import TSNE
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
from typing import List, Optional, Any, Dict
|
from typing import List, Optional
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
import numpy as np
|
|
||||||
from dash import callback, Input, Output, State
|
from dash import callback, Input, Output, State
|
||||||
from ...data.processor import DataProcessor
|
from ...data.processor import DataProcessor
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
from typing import List, Dict, Any
|
from typing import List
|
||||||
import plotly.colors as pc
|
import plotly.colors as pc
|
||||||
from ..models.schemas import Document
|
from ..models.schemas import Document
|
||||||
|
|
||||||
@@ -29,5 +29,5 @@ class ColorMapper:
|
|||||||
gray_value * 0.7 + rgb[1] * 0.3,
|
gray_value * 0.7 + rgb[1] * 0.3,
|
||||||
gray_value * 0.7 + rgb[2] * 0.3)
|
gray_value * 0.7 + rgb[2] * 0.3)
|
||||||
return f'rgb({int(gray_rgb[0])},{int(gray_rgb[1])},{int(gray_rgb[2])})'
|
return f'rgb({int(gray_rgb[0])},{int(gray_rgb[1])},{int(gray_rgb[2])})'
|
||||||
except:
|
except: # noqa: E722
|
||||||
return 'rgb(128,128,128)'
|
return 'rgb(128,128,128)'
|
Reference in New Issue
Block a user