andytonglove commited on
Commit
ccd26b6
·
verified ·
1 Parent(s): 64e0e46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -8,10 +8,10 @@ import gradio as gr
8
  def detect_qr_code(image):
9
  # 初始化 WeChatQRCode 检测器
10
  qrcode_detector = cv.wechat_qrcode_WeChatQRCode(
11
- "model/detect.prototxt",
12
- "model/detect.caffemodel",
13
- "model/sr.prototxt",
14
- "model/sr.caffemodel",
15
  )
16
 
17
  # 检测并解码二维码
 
8
  def detect_qr_code(image):
9
  # 初始化 WeChatQRCode 检测器
10
  qrcode_detector = cv.wechat_qrcode_WeChatQRCode(
11
+ "detect.prototxt",
12
+ "detect.caffemodel",
13
+ "sr.prototxt",
14
+ "sr.caffemodel",
15
  )
16
 
17
  # 检测并解码二维码