Joshua1808 commited on
Commit
bfaa73e
·
1 Parent(s): 4f8924e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -160,7 +160,7 @@ def tweets_localidad(buscar_localidad):
160
  tab1, tab2 = st.tabs(["📈 Chart", "🗃 Data"])
161
  tab1.subheader("Datos")
162
  muestra = st.table(df.reset_index(drop=True).head(5).style.applymap(color_survived, subset=['Prediccion']))
163
- #tab2.write(muestra)
164
  tab2.subheader("Gráfico")
165
  resultado = df['Prediccion'].value_counts()
166
  colores=["#EE3555","#aae977"]
@@ -174,7 +174,7 @@ def tweets_localidad(buscar_localidad):
174
  #plt.show()
175
  #st.set_option('deprecation.showPyplotGlobalUse', False)
176
  #st.pyplot()
177
- tab2.st.pyplot()
178
 
179
 
180
  except AttributeError as e:
 
160
  tab1, tab2 = st.tabs(["📈 Chart", "🗃 Data"])
161
  tab1.subheader("Datos")
162
  muestra = st.table(df.reset_index(drop=True).head(5).style.applymap(color_survived, subset=['Prediccion']))
163
+ tab1.write(muestra)
164
  tab2.subheader("Gráfico")
165
  resultado = df['Prediccion'].value_counts()
166
  colores=["#EE3555","#aae977"]
 
174
  #plt.show()
175
  #st.set_option('deprecation.showPyplotGlobalUse', False)
176
  #st.pyplot()
177
+ st.pyplot()
178
 
179
 
180
  except AttributeError as e: