Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import streamlit as st
|
|
| 3 |
import streamlit.components.v1 as components
|
| 4 |
import time
|
| 5 |
|
| 6 |
-
|
| 7 |
def semanticComparativeClassification():
|
| 8 |
st.session_state["respuesta"] = ""
|
| 9 |
apis_urls = [
|
|
@@ -93,5 +93,5 @@ title = st.text_input('Pregunta', '', on_change=semanticComparativeClassificatio
|
|
| 93 |
|
| 94 |
st.text_area( "Respuesta: ", key= "respuesta", height=200 )
|
| 95 |
|
| 96 |
-
st.markdown("<div id='logwrapper'>LOG:"+
|
| 97 |
|
|
|
|
| 3 |
import streamlit.components.v1 as components
|
| 4 |
import time
|
| 5 |
|
| 6 |
+
st.session_state.mytext = ""
|
| 7 |
def semanticComparativeClassification():
|
| 8 |
st.session_state["respuesta"] = ""
|
| 9 |
apis_urls = [
|
|
|
|
| 93 |
|
| 94 |
st.text_area( "Respuesta: ", key= "respuesta", height=200 )
|
| 95 |
|
| 96 |
+
st.markdown("<div id='logwrapper'>LOG:"+st.session_state.mytext+"</div>", unsafe_allow_html=True)
|
| 97 |
|