Ana111op commited on
Commit
dd85411
2 Parent(s): 2091f48 390427a

Merge branch #Qwen/Qwen2-Math-Demo' into 'Ana111op/demo-math-thing'

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ from PIL import Image
14
  YOUR_API_TOKEN = os.getenv('YOUR_API_TOKEN')
15
  dashscope.api_key = YOUR_API_TOKEN
16
  math_messages = []
17
- def process_image(image, shouldConvert):
18
  # 获取上传文件的目录
19
  global math_messages
20
  math_messages = [] # reset when upload image
 
14
  YOUR_API_TOKEN = os.getenv('YOUR_API_TOKEN')
15
  dashscope.api_key = YOUR_API_TOKEN
16
  math_messages = []
17
+ def process_image(image, shouldConvert=False):
18
  # 获取上传文件的目录
19
  global math_messages
20
  math_messages = [] # reset when upload image