gmonsoon commited on
Commit
8cf9168
Β·
verified Β·
1 Parent(s): b623ba1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -261,8 +261,8 @@ demo = gr.ChatInterface(
261
  textbox=gr.MultimodalTextbox(file_types=["image", ".mp4"], file_count="multiple", autofocus=True),
262
  multimodal=True,
263
  additional_inputs=[
264
- gr.Textbox(label="System Prompt", value="You are a helpful assistant, answer the question in Bahasa Indonesia as long as possible"),
265
- gr.Slider(label="Max New Tokens", minimum=256, maximum=2000, step=10, value=700),
266
  ],
267
  stop_btn=False,
268
  title="NgobrolHijau - Indonesia Energy Transition and Renewable Energy (DEMO)",
 
261
  textbox=gr.MultimodalTextbox(file_types=["image", ".mp4"], file_count="multiple", autofocus=True),
262
  multimodal=True,
263
  additional_inputs=[
264
+ gr.Textbox(label="System Prompt", value="You are a helpful assistant who always provides long, thorough, and detailed answers in Bahasa Indonesia"),
265
+ gr.Slider(label="Max New Tokens", minimum=512, maximum=2000, step=10, value=1024),
266
  ],
267
  stop_btn=False,
268
  title="NgobrolHijau - Indonesia Energy Transition and Renewable Energy (DEMO)",