littlebird13 commited on
Commit
b353329
1 Parent(s): fc5506c

Update app.py

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