youngtsai commited on
Commit
338838e
·
1 Parent(s): c7c6e6e

"is_streaming": "true",

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1992,7 +1992,7 @@ def chat_with_opan_ai_assistant(password, youtube_id, user_data, thread_id, tras
1992
  "content_grade": content_grade,
1993
  "socratic_mode": socratic_mode,
1994
  "assistant_id": assistant_id,
1995
- "is_streaming": False,
1996
  }
1997
  )
1998
 
@@ -2163,7 +2163,7 @@ def streaming_chat_with_open_ai(user_message, chat_history, password, video_id,
2163
  "content_subject": content_subject,
2164
  "content_grade": content_grade,
2165
  "assistant_id": assistant_id,
2166
- "is_streaming": True,
2167
  }
2168
  )
2169
 
 
1992
  "content_grade": content_grade,
1993
  "socratic_mode": socratic_mode,
1994
  "assistant_id": assistant_id,
1995
+ "is_streaming": "false",
1996
  }
1997
  )
1998
 
 
2163
  "content_subject": content_subject,
2164
  "content_grade": content_grade,
2165
  "assistant_id": assistant_id,
2166
+ "is_streaming": "true",
2167
  }
2168
  )
2169