greyfoss commited on
Commit
f1741c6
·
verified ·
1 Parent(s): 88c96b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -67,7 +67,7 @@ def gradio(model, tokenizer):
67
  temperature=temperature,
68
  repetition_penalty=repetition_penalty,
69
  early_stopping=True,
70
- # do_sample=True,
71
  )
72
  output = beam_output[0][prompt_length:]
73
 
@@ -127,7 +127,6 @@ def gradio(model, tokenizer):
127
  gr.ChatInterface(
128
  response,
129
  chatbot=bot,
130
- fill_vertical_space=True,
131
  additional_inputs=[
132
  top_k,
133
  top_p,
 
67
  temperature=temperature,
68
  repetition_penalty=repetition_penalty,
69
  early_stopping=True,
70
+ do_sample=True
71
  )
72
  output = beam_output[0][prompt_length:]
73
 
 
127
  gr.ChatInterface(
128
  response,
129
  chatbot=bot,
 
130
  additional_inputs=[
131
  top_k,
132
  top_p,