Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,7 @@ st.session_state.mytext = ""
|
|
7 |
def semanticComparativeClassification():
|
8 |
st.session_state["respuesta"] = ""
|
9 |
st.session_state.logresp = ""
|
10 |
-
|
11 |
-
button_placeholder.write( 'Empezamos...' )
|
12 |
|
13 |
apis_urls = [
|
14 |
"https://api-inference.huggingface.co/models/symanto/sn-xlm-roberta-base-snli-mnli-anli-xnli",
|
@@ -20,7 +19,7 @@ def semanticComparativeClassification():
|
|
20 |
wt.append(api_url)
|
21 |
semanticComparativeClassificationCall(api_url)
|
22 |
|
23 |
-
|
24 |
|
25 |
def semanticComparativeClassificationCall(api_url: str):
|
26 |
st.session_state.logresp = st.session_state.logresp + "Model: "+api_url+"\n"
|
|
|
7 |
def semanticComparativeClassification():
|
8 |
st.session_state["respuesta"] = ""
|
9 |
st.session_state.logresp = ""
|
10 |
+
|
|
|
11 |
|
12 |
apis_urls = [
|
13 |
"https://api-inference.huggingface.co/models/symanto/sn-xlm-roberta-base-snli-mnli-anli-xnli",
|
|
|
19 |
wt.append(api_url)
|
20 |
semanticComparativeClassificationCall(api_url)
|
21 |
|
22 |
+
|
23 |
|
24 |
def semanticComparativeClassificationCall(api_url: str):
|
25 |
st.session_state.logresp = st.session_state.logresp + "Model: "+api_url+"\n"
|