Spaces:
Sleeping
Sleeping
Commit
·
84ee14e
1
Parent(s):
b07cafa
Update app.py
Browse files
app.py
CHANGED
@@ -737,15 +737,18 @@ with gr.Blocks() as demo:
|
|
737 |
|
738 |
with gr.Tab("Step 3: Fine Tuning"):
|
739 |
gr.HTML(STEP2_TITLE)
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
|
|
|
|
|
|
749 |
|
750 |
# For future upgrade
|
751 |
|
|
|
737 |
|
738 |
with gr.Tab("Step 3: Fine Tuning"):
|
739 |
gr.HTML(STEP2_TITLE)
|
740 |
+
with gr.Row():
|
741 |
+
with gr.Column(scale=1):
|
742 |
+
gr.Image(value="resources/stocks.png")
|
743 |
+
with gr.Column(scale=5):
|
744 |
+
run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
|
745 |
+
run_button_crewai.click(
|
746 |
+
fn=crewai_process,
|
747 |
+
inputs=gr.Textbox(lines=2, placeholder="Analyze Stock..."),
|
748 |
+
outputs=gr.Textbox(label="Stock Analysis")
|
749 |
+
)
|
750 |
+
|
751 |
+
|
752 |
|
753 |
# For future upgrade
|
754 |
|