Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
V
vidai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
vidai
Commits
d8289ec9
Commit
d8289ec9
authored
Oct 09, 2025
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix undefined job_id variable in worker analysis by using message.msg_id
parent
5ee420fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
worker_analysis.py
vidai/worker_analysis.py
+2
-2
No files found.
vidai/worker_analysis.py
View file @
d8289ec9
...
...
@@ -280,8 +280,8 @@ def worker_process(backend_type: str):
prompt
=
data
.
get
(
'prompt'
,
'Describe this image.'
)
model_path
=
data
.
get
(
'model_path'
,
'Qwen/Qwen2.5-VL-7B-Instruct'
)
interval
=
data
.
get
(
'interval'
,
10
)
queue_id
=
data
.
get
(
'queue_id'
)
# Extract queue_id for cancellation checking
print
(
f
"DEBUG: Starting analysis of {media_path} with model {model_path} for job {
message.msg
_id}"
)
job_id
=
message
.
msg_id
# Use message ID for job identification
print
(
f
"DEBUG: Starting analysis of {media_path} with model {model_path} for job {
job
_id}"
)
result
=
analyze_media
(
media_path
,
prompt
,
model_path
,
interval
,
job_id
)
print
(
f
"DEBUG: Analysis completed for job {message.msg_id}"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment