richardorama commited on
Commit
8c3201a
1 Parent(s): 0b5bcd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def chat(txt):
30
  #st.write('--------------------------------------------------------------')
31
  #summary = summarizer(txt, max_length=500, min_length=30, do_sample=False)
32
  #st.write(summary[0]['summary_text'])
33
- response = generator(txt, max_length=100, num_return_sequences=1)[0]['generated_text']
34
  st.write(f"GPT-3: {response}")
35
 
36
  DEFAULT_CHAT = ""
 
30
  #st.write('--------------------------------------------------------------')
31
  #summary = summarizer(txt, max_length=500, min_length=30, do_sample=False)
32
  #st.write(summary[0]['summary_text'])
33
+ response = generator(txt, max_length=500, num_return_sequences=1)[0]['generated_text']
34
  st.write(f"GPT-3: {response}")
35
 
36
  DEFAULT_CHAT = ""