graredcr commited on
Commit
02d2ee0
·
1 Parent(s): f49bc29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -16,6 +16,8 @@ def semanticComparativeClassification():
16
 
17
  for api_url in apis_urls:
18
  semanticComparativeClassificationCall(api_url)
 
 
19
 
20
  def semanticComparativeClassificationCall(api_url: str):
21
  st.session_state.logresp = st.session_state.logresp + "Model: "+api_url+"\n"
@@ -97,8 +99,7 @@ st.text_area( "Respuesta: ", key= "respuesta", height=200 )
97
  #st.text_area( "Log: ", key= "logresp", height=600 )
98
 
99
  # Section 1
100
- button = st.button('Button')
101
- button_placeholder = st.empty()
102
- button_placeholder.write(st.session_state[f"logresp"])
103
 
104
 
 
16
 
17
  for api_url in apis_urls:
18
  semanticComparativeClassificationCall(api_url)
19
+
20
+ button_placeholder.write(st.session_state.logresp )
21
 
22
  def semanticComparativeClassificationCall(api_url: str):
23
  st.session_state.logresp = st.session_state.logresp + "Model: "+api_url+"\n"
 
99
  #st.text_area( "Log: ", key= "logresp", height=600 )
100
 
101
  # Section 1
102
+ #button = st.button('Button')
103
+ button_placeholder = st.empty()
 
104
 
105