Spaces:
Sleeping
Sleeping
File size: 2,094 Bytes
3592cf3 2eb1b18 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
---
title: AIPhoneAgent
emoji: 🦀
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: 4.31.3
app_file: app.py
pinned: false
---
# AIPhoneAgent
AIPhoneAgent is a Gradio-based application that allows users to make API calls to `bland.ai` for phone-based tasks using a specified model. The application is designed to send tasks to a phone number provided by the user, with various customizable parameters.
## Features
- Make API calls with customizable task prompts to any internation phone number.
- Logging of API call details and responses.
## Requirements
Ensure you have the following dependencies installed:
- `gradio`
- `requests`
- Python's built-in `logging` module (no need to install separately).
You can install the necessary packages using:
```bash
pip install gradio requests
```
## Usage
1. **Set up your environment**: Make sure Python is installed along with the required packages (`gradio` and `requests`).
2. **Get your API Key**: Create an account at [bland.ai](https://app.bland.ai/signup) and obtain your API key from the dashboard settings under the 'API Key' tab.
3. **Run the application**: Navigate to the project directory and run the following command:
```bash
python app.py
```
This will launch a Gradio interface where you can input your API key, the task description, and the phone number to which the call should be made.
4. **Interact with the interface**: Enter the required details in the Gradio web interface and submit to make the API call.
## Deployment
This application can instantly run locally. For web deployment, consider using platforms like Heroku, AWS, or Google Cloud to host the application. Currently it is deployed under Hugging Face Spaces with Free setup. https://huggingface.co./spaces/skyvera/AIPhoneAgent
Details on Hugging Face Deployment: https://www.gradio.app/guides/using-hugging-face-integrations#hosting-your-gradio-demos-on-spaces
## Configuration Reference
For more details on configuration, visit the [Hugging Face Spaces configuration reference](https://huggingface.co./docs/hub/spaces-config-reference). |