mirror of
https://github.com/icereed/paperless-gpt.git
synced 2025-03-12 21:08:00 -05:00
test library path
This commit is contained in:
parent
746a538074
commit
de8dd90cbb
3 changed files with 5 additions and 8 deletions
5
.github/workflows/docker-build-and-push.yml
vendored
5
.github/workflows/docker-build-and-push.yml
vendored
|
@ -9,8 +9,6 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@ -27,6 +25,9 @@ jobs:
|
|||
- name: Install mupdf
|
||||
run: sudo apt-get install -y mupdf
|
||||
|
||||
- name: Set library path
|
||||
run: echo "/usr/lib" | sudo tee -a /etc/ld.so.conf.d/mupdf.conf && sudo ldconfig
|
||||
|
||||
- name: Install dependencies
|
||||
run: go mod download
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ const ExperimentalOCR: React.FC = () => {
|
|||
const [ocrResult, setOcrResult] = useState('');
|
||||
const [status, setStatus] = useState('');
|
||||
const [error, setError] = useState('');
|
||||
const [isCheckingStatus, setIsCheckingStatus] = useState(false);
|
||||
|
||||
const submitOCRJob = async () => {
|
||||
setStatus('');
|
||||
|
@ -31,7 +30,6 @@ const ExperimentalOCR: React.FC = () => {
|
|||
|
||||
const checkJobStatus = async () => {
|
||||
if (!jobId) return;
|
||||
setIsCheckingStatus(true);
|
||||
|
||||
try {
|
||||
const response = await axios.get(`/api/jobs/ocr/${jobId}`);
|
||||
|
@ -50,8 +48,6 @@ const ExperimentalOCR: React.FC = () => {
|
|||
} catch (err) {
|
||||
console.error(err);
|
||||
setError('Failed to check job status.');
|
||||
} finally {
|
||||
setIsCheckingStatus(false);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"root":["./src/app.tsx","./src/documentprocessor.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/documentcard.tsx","./src/components/documentstoprocess.tsx","./src/components/nodocuments.tsx","./src/components/successmodal.tsx","./src/components/suggestioncard.tsx","./src/components/suggestionsreview.tsx"],"version":"5.6.2"}
|
||||
{"root":["./src/app.tsx","./src/documentprocessor.tsx","./src/experimentalocr.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/documentcard.tsx","./src/components/documentstoprocess.tsx","./src/components/nodocuments.tsx","./src/components/successmodal.tsx","./src/components/suggestioncard.tsx","./src/components/suggestionsreview.tsx"],"version":"5.6.2"}
|
Loading…
Reference in a new issue