mgokg commited on
Commit
bc841eb
·
verified ·
1 Parent(s): 9f906c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def ask_llm(llm_prompt_input):
49
  system="You are Qwen, created by Alibaba Cloud. You are a helpful assistant.",
50
  api_name="/model_chat"
51
  )
52
- result = result.output.choices[0].message.content
53
  result=gr.Markdown(result)
54
  return result
55
 
 
49
  system="You are Qwen, created by Alibaba Cloud. You are a helpful assistant.",
50
  api_name="/model_chat"
51
  )
52
+ result = result[2]
53
  result=gr.Markdown(result)
54
  return result
55