Spaces:
Runtime error
Runtime error
Update app.py
Browse files118 unmodified lines11912012112212312412524 unmodified lines150151152153154155156157158118 unmodified lines{"role": "user","content": [{"type": "text", "text": "Analyze this gas pipe quality control video and classify into one category: 1) PASSED - pipe taken from Region A, dipped in water, no bubbles, moved to Region B. Example: Person picks pipe from left side, tests in water, no bubbles seen, places in right side. 2) FAILED - pipe tested in water, bubbles visible. Example: Person dips pipe in water, bubbles appear indicating leak, pipe rejected. 3) CHEATING - pipe moved from A to B without testing. Example: Person takes pipe from left and directly places in right without water test. Give classification and brief reason."},{"type": "video"},],},24 unmodified linesreturn frame_paths, result, hand_tracking_summaryexamples = [["/front view/07.mp4"],["//front view/09.mp4"],["/front view/29.mp4"]]iface = gr.Interface(118 unmodified lines11912012112212312412512612712812913024 unmodified lines155156157158159160161162163118 unmodified lines{"role": "user","content": [{"type": "text", "text": """Analyze this gas pipe quality control video and classify into one category:1) PASSED - pipe taken from Region A, dipped in water, no bubbles, moved to Region B.Example: Person picks pipe from left side, tests in water, no bubbles seen, places in right side.2) FAILED - pipe tested in water, bubbles visible. Example: Person dips pipe in water, bubbles appear indicating leak, pipe rejected.3) CHEATING - pipe moved from A to B without testing. Example: Person takes pipe from left and directly places in right without water test.Give classification and brief reason."""},{"type": "video"},],},24 unmodified linesreturn frame_paths, result, hand_tracking_summaryexamples = [["07.mp4"],["09.mp4"],["29.mp4"]]iface = gr.Interface(
app.py+9-4