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

"is_streaming": False,

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1992,6 +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
  }
1996
  )
1997
 
@@ -2162,6 +2163,7 @@ def streaming_chat_with_open_ai(user_message, chat_history, password, video_id,
2162
  "content_subject": content_subject,
2163
  "content_grade": content_grade,
2164
  "assistant_id": assistant_id,
 
2165
  }
2166
  )
2167
 
 
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