graredcr commited on
Commit
5674291
·
1 Parent(s): 33ddff2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,6 +4,8 @@ import streamlit.components.v1 as components
4
  import time
5
 
6
  st.session_state.mytext = ""
 
 
7
  def semanticComparativeClassification():
8
  global logtxt
9
  st.session_state["respuesta"] = ""
@@ -104,7 +106,6 @@ st.text_area( "Respuesta: ", key= "respuesta", height=200 )
104
 
105
  # Section 1
106
  #button = st.button('Button')
107
- logtxtbox = st.empty()
108
- logtxt = 'start'
109
  logtxtbox.text_area("Logging: ",logtxt, height = 500)
110
 
 
4
  import time
5
 
6
  st.session_state.mytext = ""
7
+ global logtxt
8
+ logtxt = ""
9
  def semanticComparativeClassification():
10
  global logtxt
11
  st.session_state["respuesta"] = ""
 
106
 
107
  # Section 1
108
  #button = st.button('Button')
109
+ logtxtbox = st.empty()
 
110
  logtxtbox.text_area("Logging: ",logtxt, height = 500)
111