liuwei commited on
Commit
a91b3c4
1 Parent(s): 30a40c5
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -50,13 +50,11 @@ def app():
50
 
51
 
52
  if button_generate:
53
- st.write(st.session_state["inputs"])
54
- pass
55
  # embeddings
56
- #embeddings = transformer(st.session_state.inputs)
57
 
58
  # 显示生成的文本
59
- #st.write(embeddings)
60
  #output_text.success(generated_text)
61
 
62
  if button_clear:
 
50
 
51
 
52
  if button_generate:
 
 
53
  # embeddings
54
+ embeddings = transformer(st.session_state.inputs)
55
 
56
  # 显示生成的文本
57
+ st.write(embeddings)
58
  #output_text.success(generated_text)
59
 
60
  if button_clear: