vilarin commited on
Commit
b64165b
1 Parent(s): 40094c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,7 +95,7 @@ def stream_chat(
95
  )
96
 
97
  with torch.no_grad():
98
- thread = Thread(target=model.generate, kwargs=gen_kwargs)
99
  thread.start()
100
 
101
  buffer = ""
@@ -130,7 +130,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
130
  maximum=8192,
131
  step=1,
132
  value=1024,
133
- label="Max Length",
134
  render=False,
135
  ),
136
  gr.Slider(
 
95
  )
96
 
97
  with torch.no_grad():
98
+ thread = Thread(target=model.generate, kwargs=generate_kwargs)
99
  thread.start()
100
 
101
  buffer = ""
 
130
  maximum=8192,
131
  step=1,
132
  value=1024,
133
+ label="Max new tokens",
134
  render=False,
135
  ),
136
  gr.Slider(