Maplemx commited on
Commit
93cd1b5
1 Parent(s): e3997f7

update: turn off the debug mode

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,7 +47,7 @@ async def chat(message, history, model, base_url, auth, agent_id, session_id):
47
  agent = (
48
  Agently.create_agent(agent_id)
49
  .set_settings("current_model", model_serial)
50
- .set_settings("is_debug", True)
51
  )
52
  for setting_name, setting_value in model_info.items():
53
  agent.set_settings(f"model.{ model_serial }.{setting_name}", setting_value)
@@ -124,4 +124,4 @@ iface = gr.ChatInterface(
124
  ]
125
  )
126
 
127
- iface.launch()
 
47
  agent = (
48
  Agently.create_agent(agent_id)
49
  .set_settings("current_model", model_serial)
50
+ .set_settings("is_debug", False)
51
  )
52
  for setting_name, setting_value in model_info.items():
53
  agent.set_settings(f"model.{ model_serial }.{setting_name}", setting_value)
 
124
  ]
125
  )
126
 
127
+ iface.launch()