zhaokeyao1 commited on
Commit
a8d2d8a
·
1 Parent(s): 111620d

Update high

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,7 +155,7 @@ client=OpenAI(
155
  )
156
  def predict_(password_input, user_in_file):
157
  if password_input != os.environ.get("USER_KEY"):
158
- return [(None, "Wrong password!")], conversation, user_input]
159
  file = client.files.create(file=Path(user_in_file), purpose="file-extract")
160
  completion = client.chat.completions.create(
161
  model="qwen-long",
 
155
  )
156
  def predict_(password_input, user_in_file):
157
  if password_input != os.environ.get("USER_KEY"):
158
+ return [(None, "Wrong password!")], conversation, user_input
159
  file = client.files.create(file=Path(user_in_file), purpose="file-extract")
160
  completion = client.chat.completions.create(
161
  model="qwen-long",