update: turn off the debug mode
Browse files
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",
|
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()
|