dmis-lab / BERN2

BERN2: an advanced neural biomedical namedentity recognition and normalization tool
http://bern2.korea.ac.kr
BSD 2-Clause "Simplified" License
174 stars 41 forks source link

500 Error when calling API #50

Closed elorenzen-rancho closed 1 year ago

elorenzen-rancho commented 1 year ago

I am trying to call the API using the Python function provided in the documentation

import requests

def query_plain(text, url="http://bern2.korea.ac.kr/plain"): return requests.post(url, json={'text': text}).json()

However, it returns a 500 error. Is there currently a server issue?