mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2025-12-21 15:34:19 +01:00
(feat) formatting controllers
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import time
|
||||
import streamlit as st
|
||||
import pandas as pd
|
||||
|
||||
from CONFIG import BACKEND_API_HOST, BACKEND_API_PORT
|
||||
from backend.services.backend_api_client import BackendAPIClient
|
||||
import pandas as pd
|
||||
import streamlit as st
|
||||
|
||||
from frontend.st_utils import get_backend_api_client
|
||||
|
||||
|
||||
@@ -93,7 +92,8 @@ class LaunchV2WithControllers:
|
||||
|
||||
edited_df = st.data_editor(df, hide_index=True)
|
||||
|
||||
self._controller_config_selected = [f"{config}.yml" for config in edited_df[edited_df["selected"]]["id"].tolist()]
|
||||
self._controller_config_selected = [f"{config}.yml" for config in
|
||||
edited_df[edited_df["selected"]]["id"].tolist()]
|
||||
st.write(self._controller_config_selected)
|
||||
c1, c2, c3, c4 = st.columns([1, 1, 1, 0.3])
|
||||
with c1:
|
||||
@@ -108,4 +108,4 @@ class LaunchV2WithControllers:
|
||||
with c4:
|
||||
deploy_button = st.button("Deploy Bot")
|
||||
if deploy_button:
|
||||
self.launch_new_bot()
|
||||
self.launch_new_bot()
|
||||
|
||||
Reference in New Issue
Block a user