qiaochanghao commited on
Commit
6721d04
·
1 Parent(s): 886b3d1

update rewrite model

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -119,12 +119,11 @@ def encode_image(pil_image):
119
 
120
 
121
 
122
- def api(prompt, img_list, model="qwen-vl-max-latest", kwargs={}):
123
  import dashscope
124
  api_key = os.environ.get('DASH_API_KEY')
125
  if not api_key:
126
  raise EnvironmentError("DASH_API_KEY is not set")
127
- assert model in ["qwen-vl-max-latest"], f"Not implemented model {model}"
128
  sys_promot = "you are a helpful assistant, you should provide useful answers to users."
129
  messages = [
130
  {"role": "system", "content": sys_promot},
 
119
 
120
 
121
 
122
+ def api(prompt, img_list, model="qwen3-vl-235b-a22b-thinking", kwargs={}):
123
  import dashscope
124
  api_key = os.environ.get('DASH_API_KEY')
125
  if not api_key:
126
  raise EnvironmentError("DASH_API_KEY is not set")
 
127
  sys_promot = "you are a helpful assistant, you should provide useful answers to users."
128
  messages = [
129
  {"role": "system", "content": sys_promot},