skyvera commited on
Commit
2eb1b18
·
verified ·
1 Parent(s): 25a0dbc

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -1
README.md CHANGED
@@ -9,4 +9,39 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
 
12
+ # AIPhoneAgent
13
+
14
+ 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.
15
+
16
+ ## Features
17
+ - Make API calls with customizable task prompts to any internation phone number.
18
+ - Logging of API call details and responses.
19
+
20
+ ## Requirements
21
+ Ensure you have the following dependencies installed:
22
+ - `gradio`
23
+ - `requests`
24
+ - Python's built-in `logging` module (no need to install separately).
25
+
26
+ You can install the necessary packages using:
27
+ ```bash
28
+ pip install gradio requests
29
+ ```
30
+
31
+ ## Usage
32
+ 1. **Set up your environment**: Make sure Python is installed along with the required packages (`gradio` and `requests`).
33
+ 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.
34
+ 3. **Run the application**: Navigate to the project directory and run the following command:
35
+ ```bash
36
+ python app.py
37
+ ```
38
+ 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.
39
+
40
+ 4. **Interact with the interface**: Enter the required details in the Gradio web interface and submit to make the API call.
41
+
42
+ ## Deployment
43
+ 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
44
+ Details on Hugging Face Deployment: https://www.gradio.app/guides/using-hugging-face-integrations#hosting-your-gradio-demos-on-spaces
45
+
46
+ ## Configuration Reference
47
+ For more details on configuration, visit the [Hugging Face Spaces configuration reference](https://huggingface.co/docs/hub/spaces-config-reference).