Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,19 +106,10 @@ with gr.Blocks() as iface:
|
|
| 106 |
run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
|
| 107 |
run_button_crewai.click(
|
| 108 |
fn=crewai_process,
|
| 109 |
-
inputs=gr.Textbox(lines=2, placeholder="Enter Discussion Topic..."),
|
| 110 |
outputs=gr.Textbox(label="Group Synopsis"),
|
| 111 |
)
|
| 112 |
|
| 113 |
-
'''
|
| 114 |
-
iface = gr.Interface(
|
| 115 |
-
fn=crewai_process,
|
| 116 |
-
inputs=gr.Textbox(lines=2, placeholder="Enter Research Topic Here..."),
|
| 117 |
-
outputs="text",
|
| 118 |
-
title="SmartMix - Your Safe Place",
|
| 119 |
-
description="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."
|
| 120 |
-
)
|
| 121 |
-
'''
|
| 122 |
|
| 123 |
# Launch the interface
|
| 124 |
iface.launch(debug=True)
|
|
|
|
| 106 |
run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
|
| 107 |
run_button_crewai.click(
|
| 108 |
fn=crewai_process,
|
| 109 |
+
inputs=gr.Textbox(lines=2,label="Topic Input", placeholder="Enter Discussion Topic..."),
|
| 110 |
outputs=gr.Textbox(label="Group Synopsis"),
|
| 111 |
)
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
# Launch the interface
|
| 115 |
iface.launch(debug=True)
|