Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,7 @@ def semanticComparativeClassification():
|
|
20 |
"https://api-inference.huggingface.co/models/sentence-transformers/distiluse-base-multilingual-cased-v2"
|
21 |
]
|
22 |
|
23 |
-
for api_url in apis_urls:
|
24 |
-
logtxtbox.markdown("Logging: "+api_url )
|
25 |
semanticComparativeClassificationCall(api_url)
|
26 |
|
27 |
|
@@ -103,11 +102,11 @@ st.title('Reconocimiento semántico')
|
|
103 |
title = st.text_input('Pregunta', '', on_change=semanticComparativeClassification,key='mytext')
|
104 |
|
105 |
st.text_area( "Respuesta: ", key= "respuesta", height=200 )
|
106 |
-
|
107 |
|
108 |
# Section 1
|
109 |
#button = st.button('Button')
|
110 |
-
logtxtbox = st.empty()
|
111 |
#logtxtbox.text_area("Logging: ",logtxt, height = 500)
|
112 |
|
113 |
#logtxtbox = st.markdown('ssss', unsafe_allow_html=True)
|
|
|
20 |
"https://api-inference.huggingface.co/models/sentence-transformers/distiluse-base-multilingual-cased-v2"
|
21 |
]
|
22 |
|
23 |
+
for api_url in apis_urls:
|
|
|
24 |
semanticComparativeClassificationCall(api_url)
|
25 |
|
26 |
|
|
|
102 |
title = st.text_input('Pregunta', '', on_change=semanticComparativeClassification,key='mytext')
|
103 |
|
104 |
st.text_area( "Respuesta: ", key= "respuesta", height=200 )
|
105 |
+
st.text_area( "Log: ", key= "logresp", height=600 )
|
106 |
|
107 |
# Section 1
|
108 |
#button = st.button('Button')
|
109 |
+
#logtxtbox = st.empty()
|
110 |
#logtxtbox.text_area("Logging: ",logtxt, height = 500)
|
111 |
|
112 |
#logtxtbox = st.markdown('ssss', unsafe_allow_html=True)
|