Spaces:
Running
Running
Merge branch #Qwen/Qwen2-Math-Demo' into 'Ana111op/demo-math-thing'
Browse files
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
|