Skip to content

Commit d0a965f

Browse files
Merge pull request #20 from OpenEarable/TobiasRoeddiger-patch-1
Update README.md
2 parents 43abaa1 + ca9dd0a commit d0a965f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ pdf_path_dict = {
107107
```
108108
Prepare an Excel file with paper IDs and their BibTeX entries (see [bibtex_mapping_of_ids.xlsx](./interconnections_datasets/bibtex_mapping_of_ids.xlsx)) that will be needed to map the extracted metadata from the references to the paper of your corpus. Then you can run the GROBID server via Docker (typically on port 8070). For the citations, the notebook uses a confidence-based approach for citation matching, automatically accepting high-confidence matches while flagging uncertain ones for manual review in an Excel file. After reviewing the uncertain matches, run the final cells to create the completed matrices saved as CSV files.
109109

110-
Additionally you may want to configure the Mail-Server to your liking. Change the following code snippet for this use case:
111-
```python
112-
# Configure Flask-Mail
113-
app.config['MAIL_SERVER'] = 'your-smtp-server.example.com' # Replace with your SMTP server
114-
app.config['MAIL_PORT'] = 587 # Common port for TLS
115-
app.config['MAIL_USE_TLS'] = True
116-
app.config['MAIL_USERNAME'] = 'your-email@example.com' # Replace with your email
117-
app.config['MAIL_PASSWORD'] = 'your-password' # Replace with your password
118-
app.config['MAIL_DEFAULT_SENDER'] = 'default-sender' # Replace with the default sender
110+
Additionally you may want to configure the Mail-Server to your liking. The configuration is pulled from your .env file. It has the following parameters:
111+
```bash
112+
MAIL_SERVER = "your-smtp-server.example.com" # Replace with your SMTP server
113+
MAIL_PORT = 587
114+
MAIL_USE_TLS = True
115+
MAIL_USERNAME = "your-email@example.com"
116+
MAIL_PASSWORD = "your-password"
117+
MAIL_DEFAULT_SENDER = "default-sender'
118+
RECIPIENTS= "an-email@example.come"
119119
```
120120
If you are unsure about the some of the configurations, please refer to the [Flask Mail Documentation](https://pypi.org/project/Flask-Mail/).
121121

0 commit comments

Comments
 (0)