Spaces:
Running
Running
Create README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,49 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
|
|
|
|
|
|
| 7 |
pinned: false
|
| 8 |
license: apache-2.0
|
| 9 |
-
short_description: Testing Computer Use
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Claude Computer Use Demo
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
sdk: docker
|
| 7 |
+
sdk_version: 3.8
|
| 8 |
+
app_port: 7860
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Claude Computer Use Demo
|
| 14 |
+
|
| 15 |
+
This demo showcases Claude's computer use capabilities through a simple chat interface. Users can interact with Claude to perform various computer-related tasks in a sandboxed environment.
|
| 16 |
+
|
| 17 |
+
## Docker Setup
|
| 18 |
+
The application is containerized using Docker for easy deployment and scaling.
|
| 19 |
+
|
| 20 |
+
### Local Development
|
| 21 |
+
1. Clone the repository
|
| 22 |
+
2. Create a `.env` file with your Anthropic API key:
|
| 23 |
+
```
|
| 24 |
+
ANTHROPIC_API_KEY=your-api-key-here
|
| 25 |
+
```
|
| 26 |
+
3. Build and run with Docker Compose:
|
| 27 |
+
```bash
|
| 28 |
+
docker-compose up --build
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
### Hugging Face Deployment
|
| 32 |
+
1. Create a new Space on Hugging Face
|
| 33 |
+
2. Choose "Docker" as the SDK
|
| 34 |
+
3. Add your ANTHROPIC_API_KEY to the Space's secrets
|
| 35 |
+
4. Push the code to the Space repository
|
| 36 |
+
|
| 37 |
+
## Features
|
| 38 |
+
- Interactive chat interface
|
| 39 |
+
- Computer interaction simulation
|
| 40 |
+
- Text editor operations
|
| 41 |
+
- Bash command execution
|
| 42 |
+
- Configurable system prompts
|
| 43 |
+
- Advanced settings for model parameters
|
| 44 |
+
|
| 45 |
+
## Security Notice
|
| 46 |
+
This demo runs in a sandboxed environment. Never provide access to sensitive information or credentials.
|
| 47 |
+
|
| 48 |
+
## License
|
| 49 |
+
Apache 2.0
|