File size: 366 Bytes
34ad4eb
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

import os

html_path = 'e:/Deepfake/deepfake_detector/templates/index.html'
with open(html_path, 'r', encoding='utf-8') as f:
    content = f.read()

# Find where jA is used: E.jsx(jA, {onUpload: ...})
idx = content.find('jsx(jA')
if idx != -1:
    print(f"Found 'jsx(jA' at {idx}")
    print(f"Context: {content[idx:idx+200]}")
else:
    print("jsx(jA not found")