Spaces:
Sleeping
Sleeping
iSathyam03
commited on
Commit
β’
061308f
1
Parent(s):
83b70fe
second commit
Browse files
README.md
CHANGED
@@ -19,3 +19,36 @@ ReWriteCraft/
|
|
19 |
β βββ InformaltoFormal/ # Folder with examples of text converted from informal to formal tone
|
20 |
```
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
β βββ InformaltoFormal/ # Folder with examples of text converted from informal to formal tone
|
20 |
```
|
21 |
|
22 |
+
## Features
|
23 |
+
* **Customizable Tone**: Choose between Formal or Informal tones for your rewritten text.
|
24 |
+
* **Customizable Dialect**: Choose between American or British dialects.
|
25 |
+
* **Easy-to-use Interface**: The app is built using Streamlit, making it interactive and simple.
|
26 |
+
* **Quick Response**: Rewritten text is generated with the help of the LLama 3.1 model.
|
27 |
+
|
28 |
+
## How to Use
|
29 |
+
1. **Clone the Repository**: Clone this repository to your local machine or server:
|
30 |
+
```
|
31 |
+
git clone https://github.com/iSathyam31/ReWriteCraft.git
|
32 |
+
cd ReWriteCraft
|
33 |
+
```
|
34 |
+
2. Create a `.env` file: In the root directory, create a `.env` file to store your LangChain API key:
|
35 |
+
```
|
36 |
+
LANGCHAIN_API_KEY=your_api_key_here
|
37 |
+
```
|
38 |
+
3. **Install Dependencies**: Install the required Python packages listed in the `requirements.txt`:
|
39 |
+
```
|
40 |
+
pip install -r requirements.txt
|
41 |
+
```
|
42 |
+
4. **Run the App**: Once the dependencies are installed, you can run the Streamlit app using:
|
43 |
+
```
|
44 |
+
streamlit run app.py
|
45 |
+
```
|
46 |
+
The app will be accessible in your browser at `http://localhost:8501`.
|
47 |
+
|
48 |
+
## Project Constraints
|
49 |
+
* **Word Limit**: The app currently supports a maximum of 1500 words for input. You can modify this limit in the code if needed. The input text must be within this word count to avoid performance issues.
|
50 |
+
* **Tone & Dialect Selection**:
|
51 |
+
- The options for tone (Formal/Informal) and dialect (American/British) are optional. You can choose one or both options based on your needs.
|
52 |
+
- If you want a specific tone or dialect applied to your text, simply check the corresponding boxes. You can apply both tone and dialect together or choose either one independently.
|
53 |
+
This flexibility allows you to get a variety of outputs depending on your selection.
|
54 |
+
|