svjack commited on
Commit
4dd7741
1 Parent(s): e7c6bb2

Update extract_by_api.py

Browse files
Files changed (1) hide show
  1. extract_by_api.py +1 -1
extract_by_api.py CHANGED
@@ -3,7 +3,7 @@ import requests
3
  def call_en_zh_reader(English_Span, Chinese_Sentence):
4
  assert type(English_Span) == type("")
5
  assert type(Chinese_Sentence) == type("")
6
- response = requests.post("https://svjack-extract-similar-chinese-span-by-english-from-chinese.hf.space/run/predict", json={
7
  "data": [
8
  English_Span,
9
  Chinese_Sentence,
3
  def call_en_zh_reader(English_Span, Chinese_Sentence):
4
  assert type(English_Span) == type("")
5
  assert type(Chinese_Sentence) == type("")
6
+ response = requests.post("https://svjack-extract-similar-chinese-span-by-english-f-5daeb83.hf.space/run/predict", json={
7
  "data": [
8
  English_Span,
9
  Chinese_Sentence,