Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def tab1_content():
|
|
| 13 |
gr.Button("Submit Column 2")
|
| 14 |
|
| 15 |
def tab2_content():
|
| 16 |
-
def
|
| 17 |
try:
|
| 18 |
file_name = "config/data/agents.yaml"
|
| 19 |
with open(file_name, 'r') as file:
|
|
@@ -30,10 +30,10 @@ def tab2_content():
|
|
| 30 |
except Exception as e:
|
| 31 |
return f"Error: {str(e)}"
|
| 32 |
|
| 33 |
-
gr.HTML(value=
|
| 34 |
|
| 35 |
def tab3_content():
|
| 36 |
-
def
|
| 37 |
try:
|
| 38 |
file_name = "config/data/tasks.yaml"
|
| 39 |
with open(file_name, 'r') as file:
|
|
|
|
| 13 |
gr.Button("Submit Column 2")
|
| 14 |
|
| 15 |
def tab2_content():
|
| 16 |
+
def display_agent_data():
|
| 17 |
try:
|
| 18 |
file_name = "config/data/agents.yaml"
|
| 19 |
with open(file_name, 'r') as file:
|
|
|
|
| 30 |
except Exception as e:
|
| 31 |
return f"Error: {str(e)}"
|
| 32 |
|
| 33 |
+
gr.HTML(value=display_agent_data())
|
| 34 |
|
| 35 |
def tab3_content():
|
| 36 |
+
def display_task_data():
|
| 37 |
try:
|
| 38 |
file_name = "config/data/tasks.yaml"
|
| 39 |
with open(file_name, 'r') as file:
|