WIP - Streamlit UI, Porting CLI
This commit is contained in:
@@ -227,9 +227,15 @@ def ai_agents_planner(search_keywords):
|
||||
#setup_environment()
|
||||
try:
|
||||
agents = create_agents(search_keywords, already_written_on)
|
||||
except Exception as err:
|
||||
st.error(f"Failed in Creating in Agents: {err}")
|
||||
try:
|
||||
tasks = create_tasks(agents, search_keywords, already_written_on)
|
||||
except Exception as err:
|
||||
st.error(f"Failed to Create Agent Tasks: {err}")
|
||||
try:
|
||||
result = execute_tasks(agents, tasks)
|
||||
except Exception as err:
|
||||
print(err)
|
||||
st.error(f"Failed to execute Agent Tasks: {err}")
|
||||
st.markdown("### Final Content Calender:")
|
||||
st.markdown(result)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"Blog Content Characteristics": {
|
||||
"Blog Length": "2000",
|
||||
"Blog Tone": "Customize",
|
||||
"Blog Demographic": "Customize",
|
||||
"Blog Tone": "Casual",
|
||||
"Blog Demographic": "Professional",
|
||||
"Blog Type": "Informational",
|
||||
"Blog Language": "English",
|
||||
"Blog Output Format": "markdown"
|
||||
|
||||
BIN
lib/workspace/alwrity_logo.png
Normal file
BIN
lib/workspace/alwrity_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 188 KiB |
@@ -3,7 +3,15 @@ body {
|
||||
background: #f0f4f8;
|
||||
background-image: linear-gradient(to bottom right, #d0e1f9, #e1ebf9);
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
margin: 0; /* Remove any default margin */
|
||||
padding: 0; /* Remove any default padding */
|
||||
}
|
||||
.block-container {
|
||||
padding-top: 2.5rem;
|
||||
padding-bottom: 3rem;
|
||||
padding-left: 5rem;
|
||||
padding-right: 5rem;
|
||||
}
|
||||
|
||||
/* Main header styling */
|
||||
.main-header {
|
||||
@@ -13,6 +21,7 @@ body {
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
|
||||
padding-top: 10px; /* Add padding to the top to move it up */
|
||||
}
|
||||
|
||||
/* Sub-header styling */
|
||||
@@ -69,7 +78,7 @@ body {
|
||||
margin-bottom: 30px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
|
||||
background-color: #f8f8f8;
|
||||
background-color: #f0f4f8; /* Change background to match body */
|
||||
}
|
||||
|
||||
/* Input fields styling */
|
||||
@@ -85,7 +94,7 @@ input[type="text"] {
|
||||
|
||||
/* Custom button styling */
|
||||
button {
|
||||
background: #1976D2;
|
||||
background: #1565C0; /* Match tab color */
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 12px 24px;
|
||||
@@ -102,7 +111,7 @@ button {
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #1565C0;
|
||||
background-color: #1976D2; /* Match tab hover color */
|
||||
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user