Commit
•
61826a2
1
Parent(s):
9a222e0
Update app.py
Browse files
app.py
CHANGED
@@ -349,7 +349,7 @@ bot_inputs = [
|
|
349 |
from crewai import Agent, Task, Crew, Process
|
350 |
|
351 |
run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
|
352 |
-
|
353 |
|
354 |
# Set gemini_llm
|
355 |
gemini_llm = GoogleGenerativeAI(model="gemini-pro", google_api_key=GOOGLE_AI_STUDIO)
|
@@ -507,9 +507,8 @@ with gr.Blocks() as demo:
|
|
507 |
with gr.Tab("Your Portfolio"):
|
508 |
run_button_crewai.click(
|
509 |
fn=crewai_process,
|
510 |
-
inputs=
|
511 |
-
outputs=gr.Textbox(label="Portfolio Analysis")
|
512 |
-
queue=False
|
513 |
)
|
514 |
|
515 |
|
|
|
349 |
from crewai import Agent, Task, Crew, Process
|
350 |
|
351 |
run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
|
352 |
+
|
353 |
|
354 |
# Set gemini_llm
|
355 |
gemini_llm = GoogleGenerativeAI(model="gemini-pro", google_api_key=GOOGLE_AI_STUDIO)
|
|
|
507 |
with gr.Tab("Your Portfolio"):
|
508 |
run_button_crewai.click(
|
509 |
fn=crewai_process,
|
510 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter Research Topic Here...")
|
511 |
+
outputs=gr.Textbox(label="Portfolio Analysis")
|
|
|
512 |
)
|
513 |
|
514 |
|