keisuke-tada commited on
Commit
c743029
·
1 Parent(s): 37e3916

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ if st.button("Submit", type="primary"):
21
  ):
22
  chunk_content = chunk["choices"][0].get("delta", {}).get("content")
23
  if chunk_content is not None:
24
- content.append(chunk_content)
25
  result = "".join(content).strip()
26
  result = result.replace("\n", "")
27
  res_box.markdown(result)
 
21
  ):
22
  chunk_content = chunk["choices"][0].get("delta", {}).get("content")
23
  if chunk_content is not None:
24
+ content.append(chunk_content)
25
  result = "".join(content).strip()
26
  result = result.replace("\n", "")
27
  res_box.markdown(result)