Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Oct 10, 2024
1 parent c0ef7bf commit 4884d4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion components/selectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ def build_args(
self.skip_args.append("input")
return {
arg: st.text_area(
arg, value=prompt.get(arg, ""), key=f"{arg}_{step_number}_{uuid.uuid4()}"
arg,
value=prompt.get(arg, ""),
key=f"{arg}_{step_number}_{uuid.uuid4()}",
)
for arg in args
if arg not in self.skip_args
Expand Down
5 changes: 0 additions & 5 deletions pages/2-Agent_Management.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ def render_provider_settings(provider_name, agent_settings, provider_settings):
provider_settings,
)



st.subheader("Text to Speech Provider")
tts_providers = ApiClient.get_providers_by_service("tts")
tts_providers = ["None"] + tts_providers
Expand Down Expand Up @@ -200,7 +198,6 @@ def render_provider_settings(provider_name, agent_settings, provider_settings):
f"{setting}:", value=agent_settings.get(setting, "")
)


st.subheader("Commands")
for command in extension["commands"]:
command_enabled = st.checkbox(
Expand Down Expand Up @@ -258,8 +255,6 @@ def render_provider_settings(provider_name, agent_settings, provider_settings):
else:
command_variable = ""

# Add auto_continue setting under Advanced Settings
st.header("Advanced Settings")
auto_continue = st.checkbox(
"Auto Continue",
value=agent_settings.get("auto_continue", "false") == "true",
Expand Down

0 comments on commit 4884d4f

Please sign in to comment.