Daemontatox commited on
Commit
5c0b45d
·
verified ·
1 Parent(s): 0989597

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -149,7 +149,7 @@ with gr.Blocks() as demo:
149
  gr.Slider(
150
  minimum=10,
151
  maximum=2048,
152
- value=2048,
153
  step=10,
154
  label="Maximum number of new tokens to generate",
155
  )
@@ -164,7 +164,7 @@ with gr.Blocks() as demo:
164
  clear_btn.click(fn=clear_context)
165
 
166
  # Update accepted file types
167
- chatbot.textbox.file_types = ["image", "pdf"]
168
 
169
  # Launch the interface
170
  demo.launch(debug=True)
 
149
  gr.Slider(
150
  minimum=10,
151
  maximum=2048,
152
+ value=8192,
153
  step=10,
154
  label="Maximum number of new tokens to generate",
155
  )
 
164
  clear_btn.click(fn=clear_context)
165
 
166
  # Update accepted file types
167
+ chatbot.textbox.file_types = ["image", "pdf","text"]
168
 
169
  # Launch the interface
170
  demo.launch(debug=True)