Gosse Minnema commited on
Commit
c619b68
1 Parent(s): 0c28e38

Point to LOME server in other huggingface space

Browse files
Files changed (1) hide show
  1. sociofillmore/webapp/app.py +1 -1
sociofillmore/webapp/app.py CHANGED
@@ -1491,7 +1491,7 @@ def sociofillmore():
1491
  sentences = [s.text for s in spacy_model_ud(input_text).sents]
1492
 
1493
 
1494
- r = requests.get("http://localhost:9090/analyze", {"text": "\n".join(sentences)})
1495
  # r = requests.get("http://lome:9090/analyze", {"text": "\n".join(sentences)})
1496
  lome_analyses = json.loads(r.text)["analyses"]
1497
 
 
1491
  sentences = [s.text for s in spacy_model_ud(input_text).sents]
1492
 
1493
 
1494
+ r = requests.get("https://responsibility-framing-sociolome.hf.space/analyze", {"text": "\n".join(sentences)})
1495
  # r = requests.get("http://lome:9090/analyze", {"text": "\n".join(sentences)})
1496
  lome_analyses = json.loads(r.text)["analyses"]
1497