blasisd commited on
Commit
dc5ddab
·
1 Parent(s): 781579f

Changes in README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -0
README.md CHANGED
@@ -12,3 +12,72 @@ short_description: Summarizing and translating feed content
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
15
+
16
+ # Transum Feed
17
+
18
+ Transum Feed is a versatile application designed to summarize and translate entries from any user-specified feed. Users can input a feed URL, select source and target languages for translation, and specify the number of entries they wish to display in the output. The application streamlines the process of consuming multilingual content by providing concise summaries and accurate translations.
19
+
20
+ ## Getting Started
21
+
22
+ This guide provides step-by-step instructions to set up and run the project on your local machine for development and testing purposes. For details on deploying the project to a production environment, refer to the Deployment section.
23
+
24
+ ### Prerequisites
25
+
26
+ To set up and run this project, ensure the following software and tools are installed on your system:
27
+
28
+ - **Python**: Version `3.10.12` or higher is required. Verify your Python version by running:
29
+
30
+ ```bash
31
+ python3 --version
32
+ ```
33
+
34
+ - **Dependencies**: Install the required Python packages listed in requirements.txt using pip. Run the following command in your terminal:
35
+
36
+ ```bash
37
+ pip install -r requirements.txt
38
+ ```
39
+
40
+ ### Local Development and Testing
41
+
42
+ To run the application locally for development and testing purposes, execute the following command in your terminal:
43
+
44
+ ```bash
45
+ python transum_app.py
46
+ ```
47
+
48
+ > [!WARNING]
49
+ > Ensure you are in the project's src directory before running the script or adapt running path.
50
+
51
+ ## Deployment
52
+
53
+ ### Deployment on Hugging Face Spaces
54
+
55
+ To deploy the project on Hugging Face Spaces, follow these steps:
56
+
57
+ 1. Create an account on [Hugging Face](https://huggingface.co) if you don’t already have one.
58
+
59
+ 2. Refer to the official [Spaces Overview](https://huggingface.co/docs/hub/en/spaces-overview) documentation for detailed instructions on setting up and deploying your project.
60
+
61
+ ### Deployment on Other Cloud Platforms
62
+
63
+ For deployment on other cloud or live systems, consult the documentation provided by your chosen service provider. Each platform may have specific requirements and steps for deploying Python-based applications.
64
+
65
+ > [!TIP]
66
+ >
67
+ > **Hardware Recommendations**
68
+ >
69
+ > GPU Usage: It is highly recommended to use GPUs for deployment, especially for resource-intensive tasks like summarization. GPU acceleration significantly reduces processing time compared to CPUs.
70
+ >
71
+ > CPU Usage: While CPUs can be used for deployment, they may result in slower performance, particularly for computationally demanding processes.
72
+
73
+ > [!NOTE]
74
+ > On Hugging Face in order to use GPUs that might be available with your account (depends on your account type), you have to uncomment **import spaces** and **@spaces.GPU** lines in **transum_app.py** file.
75
+
76
+ ## Built With
77
+
78
+ - [Python 3.10.12](http://www.python.org/) - Developing with the best programming language
79
+
80
+ ## Authors
81
+
82
+ **Vlasios Dimitriadis** - _Initial work:_ [transum-feed](https://huggingface.co/spaces/blasisd/transum-feed)
83
+