Spaces:
Sleeping
Sleeping
Update app.py
Browse files255 unmodified lines256257258259260261262263264265266267268269270255 unmodified linesadditional_inputs=[gr.Textbox(label="OpenAI API Key (optional)", type="password", placeholder="Leave blank to use env variable")],type="messages",title="Actual Multi-Agent Conversation Chatbot",description="""Collaborative workflow between Primary, Critic, and Documentation agents:"1. Enter a task and observe as your prompt gets magically improved by the Prompt-Enhancing agent before reaching the2. Orchestrator, who then devises a plan and enlists the assistance of a3. Coder agent that writes code which is iteratively improved upon thanks to the4. Code Reviewer who finally decides if the code should be approved and get sent off to the5. Code Documentation Generator that will write documentation for your freshly generated code!""NOTE: The full conversation log will be displayed at the end, showing all the steps taken!""NOTE2: If the Coder is unable to satisfactorily complete the task after five attempts, the script will terminate to prevent endless iterations."NOTE3: You will have to input your OPENAI_API_KEY at the bottom of the page for this to work!""")if __name__ == "__main__":255 unmodified lines256257258259260261262263264265266267268255 unmodified linesadditional_inputs=[gr.Textbox(label="OpenAI API Key (optional)", type="password", placeholder="Leave blank to use env variable")],type="messages",title="Actual Multi-Agent Conversation Chatbot",description="""- Collaborative workflow between Prompt Enhancer, Orchestrator, Coder, Code-Reviewer and Documentation Generator agents.- Enter a task and observe as your prompt gets magically solved! :)- NOTE: The full conversation log will be displayed at the end, showing all the steps taken!- NOTE2: If the Coder is unable to satisfactorily complete the task after five attempts, the script will terminate to prevent endless iterations.- NOTE3: You will have to input your OPENAI_API_KEY at the bottom of the page for this to work!""")if __name__ == "__main__":
app.py+7-9