Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
265 |
-
gr.Slider(label="Max New Tokens", minimum=
|
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)",
|