sotosbarl commited on
Commit
73915ba
·
verified ·
1 Parent(s): 853beb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -85,12 +85,14 @@ if text:
85
  outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
86
 
87
 
 
 
88
 
89
  st.text(st.session_state.history)
90
 
91
- translated_text2 = translator2.translate(outputs)
92
 
93
- st.text(translated_text2)
94
  # st.text("History: " + st.session_state.history)
95
 
96
  # st.text(output)
 
85
  outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
86
 
87
 
88
+ st.text(outputs)
89
+
90
 
91
  st.text(st.session_state.history)
92
 
93
+ # translated_text2 = translator2.translate(outputs)
94
 
95
+ # st.text(translated_text2)
96
  # st.text("History: " + st.session_state.history)
97
 
98
  # st.text(output)