root commited on
Commit
d7600ce
·
1 Parent(s): 1f36eb9
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -64,10 +64,7 @@ def _escape_inequalities_in_math(md: str) -> str:
64
  return md
65
 
66
  def _get_examples_from_dir(dir_path: str) -> List[List[str]]:
67
- """
68
- 读取本地 examples 目录中的文件名,但不转 base64,
69
- 而是拼接远程根路径作为完整图片 URL。
70
- """
71
  BASE_URL = "https://paddle-model-ecology.bj.bcebos.com/PPOCRVL/dataset/examples"
72
  supported_exts = {".png", ".jpg", ".jpeg", ".bmp", ".webp"}
73
  examples = []
 
64
  return md
65
 
66
  def _get_examples_from_dir(dir_path: str) -> List[List[str]]:
67
+
 
 
 
68
  BASE_URL = "https://paddle-model-ecology.bj.bcebos.com/PPOCRVL/dataset/examples"
69
  supported_exts = {".png", ".jpg", ".jpeg", ".bmp", ".webp"}
70
  examples = []