Skip to content

Commit

Permalink
Merge branch 'main' of github.com:philterd/philter
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Sep 17, 2024
2 parents 0548ce9 + 5130164 commit 279801e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions distribution/example-filter.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
curl -k "https://localhost:8080/api/filter" \
--data "George Washington was president and his ssn was 123-45-6789 and he lived in 90210." -H "Content-type: text/plain"
10 changes: 10 additions & 0 deletions distribution/philter-ui.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# General configuration
server.port=9000
philter.endpoint=https://philter:8080
client.timeout=60000

# SSL configuration
client.ssl.keystore=
client.ssl.keystore.password=
client.ssl.truststore=
client.ssl.truststore.password=
2 changes: 1 addition & 1 deletion distribution/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ wheel==0.41.2
numpy==1.24.4
textblob==0.17.1
CherryPy==18.8.0
nltk==3.9
nltk==3.9.1
scipy==1.10.1

# SPECIAL DEPENDENCIES
Expand Down
2 changes: 2 additions & 0 deletions distribution/status.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
curl -k https://localhost:8080/api/status
3 changes: 3 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ services:
- "8080:8080"
networks:
- philter
# runtime: nvidia
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
philter-ui:
depends_on:
- philter-ner
Expand Down

0 comments on commit 279801e

Please sign in to comment.