mirror of
https://github.com/camel-ai/owl.git
synced 2025-12-26 02:06:20 +08:00
Feedback Implemeted
This commit is contained in:
parent
ec6509b539
commit
3587de3fd1
@ -29,8 +29,8 @@ A Streamlit app powered by the [CAMEL-AI OWL framework](https://github.com/camel
|
|||||||
1. **Clone the repository**
|
1. **Clone the repository**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/your-org/your-repo.git
|
git clone https://github.com/camel-ai/owl.git
|
||||||
cd your-repo/owl/community_usecase/Puppeteer-MCP
|
cd owl/community_usecase/Puppeteer MCP
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Create a virtual environment**
|
2. **Create a virtual environment**
|
||||||
@ -64,7 +64,7 @@ A Streamlit app powered by the [CAMEL-AI OWL framework](https://github.com/camel
|
|||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"puppeteer": {
|
"puppeteer": {
|
||||||
"command": "npx",
|
"command": "npx",
|
||||||
"args": ["-y", "@your-org/mcp-server-puppeteer"]
|
"args": ["-y", "@modelcontextprotocol/mcp-server-puppeteer"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -77,7 +77,7 @@ A Streamlit app powered by the [CAMEL-AI OWL framework](https://github.com/camel
|
|||||||
Run the Streamlit app:
|
Run the Streamlit app:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
streamlit run app.py
|
streamlit run demo.py
|
||||||
```
|
```
|
||||||
|
|
||||||
This will open the UI in your browser. Enter a natural language task (e.g., “Search for the weather in Paris”) and click **Run Task**.
|
This will open the UI in your browser. Enter a natural language task (e.g., “Search for the weather in Paris”) and click **Run Task**.
|
||||||
|
|||||||
@ -88,7 +88,7 @@ def main():
|
|||||||
st.title("OWL X Puppeteer MCP Server")
|
st.title("OWL X Puppeteer MCP Server")
|
||||||
|
|
||||||
# Get the task from the user
|
# Get the task from the user
|
||||||
task = st.text_input("Enter your task")
|
task = st.text_input("Enter your task",value="Please find the top articles from dev.to this week and go to each article and then summarize it. Please use MCP given to you")
|
||||||
|
|
||||||
if st.button("Run Task"):
|
if st.button("Run Task"):
|
||||||
if not task.strip():
|
if not task.strip():
|
||||||
|
|||||||
3
community_usecase/Puppeteer MCP/requirements.txt
Normal file
3
community_usecase/Puppeteer MCP/requirements.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
streamlit
|
||||||
|
camel-ai["all"]
|
||||||
|
python-dotenv
|
||||||
Loading…
x
Reference in New Issue
Block a user