Commit
•
1f618f5
1
Parent(s):
8df55ca
Update app.py
Browse files
app.py
CHANGED
@@ -31,8 +31,8 @@ gemini_llm = GoogleGenerativeAI(model="gemini-pro", google_api_key=GOOGLE_AI_STU
|
|
31 |
# Base Example with Gemini Search
|
32 |
|
33 |
TITLE1 = """<h1 align="center">SmartMix - Your Safe Place</h1>"""
|
34 |
-
TITLE2 = """<h3 align="
|
35 |
-
TITLE3 = """<h3 align="center">"To see active group discussion click on logs."</h3>"""
|
36 |
|
37 |
def crewai_process(research_topic):
|
38 |
# Define your agents with roles and goals
|
@@ -101,7 +101,7 @@ with gr.Blocks() as iface:
|
|
101 |
gr.HTML(TITLE3)
|
102 |
with gr.Row():
|
103 |
with gr.Column(scale=1):
|
104 |
-
gr.Image(value="crewai/resources/
|
105 |
with gr.Column(scale=5):
|
106 |
run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
|
107 |
run_button_crewai.click(
|
|
|
31 |
# Base Example with Gemini Search
|
32 |
|
33 |
TITLE1 = """<h1 align="center">SmartMix - Your Safe Place</h1>"""
|
34 |
+
TITLE2 = """<h3 align="left">"This is an agent simulated group therapy session providing a safe, judgment-free environment, allowing for open exploration of sensitive topics. Please input the topic you would like to discuss. Active phrases produce realistic interactions."</h3>"""
|
35 |
+
TITLE3 = """<h3 align="center">"To see active group discussion click on logs during run."</h3>"""
|
36 |
|
37 |
def crewai_process(research_topic):
|
38 |
# Define your agents with roles and goals
|
|
|
101 |
gr.HTML(TITLE3)
|
102 |
with gr.Row():
|
103 |
with gr.Column(scale=1):
|
104 |
+
gr.Image(value="crewai/resources/smartmix.jpg")
|
105 |
with gr.Column(scale=5):
|
106 |
run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
|
107 |
run_button_crewai.click(
|