Spaces:
Running
Running
deepakpant
commited on
Commit
·
1b4d194
1
Parent(s):
13904c3
modified readme
Browse files
README.md
CHANGED
|
@@ -18,13 +18,13 @@ This document provides an overview of the backend server for the Expressly - Tex
|
|
| 18 |
### Text Transformation Options
|
| 19 |
The backend supports the following transformation capabilities:
|
| 20 |
1. **Formats**
|
| 21 |
-
- For details on supported formats, please refer to the [Expressly Wiki](https://github.com/DeepakPant93/expressly/wiki).
|
| 22 |
|
| 23 |
2. **Tones**
|
| 24 |
-
- For details on supported tones, please refer to the [Expressly Wiki](https://github.com/DeepakPant93/expressly/wiki).
|
| 25 |
|
| 26 |
3. **Target Audience**
|
| 27 |
-
- For details on supported target audiences, please refer to the [Expressly Wiki](https://github.com/DeepakPant93/expressly/wiki).
|
| 28 |
|
| 29 |
### Output
|
| 30 |
The backend processes user inputs and generates formatted text tailored to the specified preferences. Users can easily copy and utilize the output.
|
|
@@ -48,6 +48,9 @@ The backend processes user inputs and generates formatted text tailored to the s
|
|
| 48 |
MODEL=gemini/gemini-1.5-flash
|
| 49 |
MODEL_API_KEY=<model_api_key> # Your API key here
|
| 50 |
```
|
|
|
|
|
|
|
|
|
|
| 51 |
2. Modify configuration files as needed:
|
| 52 |
- `src/expressly_server/config/agents.yaml`: Agents configuration.
|
| 53 |
- `src/expressly_server/config/tasks.yaml`: Tasks configuration.
|
|
@@ -63,9 +66,18 @@ To start the backend server and execute tasks:
|
|
| 63 |
crewai run
|
| 64 |
```
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
## Additional Notes
|
| 67 |
- Ensure all environment variables are correctly set in the `.env` file check for [.env.example](.env.example) file for reference.
|
| 68 |
- Regularly update your agents and tasks configuration to enhance functionality.
|
| 69 |
- Refer to the CrewAI documentation for advanced customizations.
|
| 70 |
-
|
| 71 |
-
This backend server powers the text transformation capabilities of Expressly, making it adaptable to a wide range of use cases.
|
|
|
|
| 18 |
### Text Transformation Options
|
| 19 |
The backend supports the following transformation capabilities:
|
| 20 |
1. **Formats**
|
| 21 |
+
- For details on supported formats, please refer to the [Expressly Wiki](https://github.com/DeepakPant93/expressly-app/wiki).
|
| 22 |
|
| 23 |
2. **Tones**
|
| 24 |
+
- For details on supported tones, please refer to the [Expressly Wiki](https://github.com/DeepakPant93/expressly-app/wiki).
|
| 25 |
|
| 26 |
3. **Target Audience**
|
| 27 |
+
- For details on supported target audiences, please refer to the [Expressly Wiki](https://github.com/DeepakPant93/expressly-app/wiki).
|
| 28 |
|
| 29 |
### Output
|
| 30 |
The backend processes user inputs and generates formatted text tailored to the specified preferences. Users can easily copy and utilize the output.
|
|
|
|
| 48 |
MODEL=gemini/gemini-1.5-flash
|
| 49 |
MODEL_API_KEY=<model_api_key> # Your API key here
|
| 50 |
```
|
| 51 |
+
|
| 52 |
+
Generate a new API key for GEMINI model from the [AI Studio](https://aistudio.google.com/app/apikey) website.
|
| 53 |
+
|
| 54 |
2. Modify configuration files as needed:
|
| 55 |
- `src/expressly_server/config/agents.yaml`: Agents configuration.
|
| 56 |
- `src/expressly_server/config/tasks.yaml`: Tasks configuration.
|
|
|
|
| 66 |
crewai run
|
| 67 |
```
|
| 68 |
|
| 69 |
+
### Deployment
|
| 70 |
+
The app is deployed on Hugging Face Spaces. You can try it out [here](https://huggingface.co/spaces/deepakpant/expressly-app).
|
| 71 |
+
|
| 72 |
+
### Docker
|
| 73 |
+
|
| 74 |
+
Check the docker documentation [here](https://hub.docker.com/r/deepak93p/expressly-app). To run the docker image, use the following command:
|
| 75 |
+
|
| 76 |
+
```bash
|
| 77 |
+
docker run -p 7860:7860 -e MODEL="gemini/gemini-1.5-flash" -e MODEL_API_KEY="<model_api_key>" deepak93p/expressly-app
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
## Additional Notes
|
| 81 |
- Ensure all environment variables are correctly set in the `.env` file check for [.env.example](.env.example) file for reference.
|
| 82 |
- Regularly update your agents and tasks configuration to enhance functionality.
|
| 83 |
- Refer to the CrewAI documentation for advanced customizations.
|
|
|
|
|
|