halejosm commited on
Commit
d17bdaa
1 Parent(s): ae60c5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -3,7 +3,15 @@ import streamlit as st
3
 
4
  #Nombre_modelo = 'pysentimiento/robertuito-sentiment-analysis'
5
 
6
- st.title("hola mundo")
 
 
 
 
 
 
 
 
7
 
8
  #Clasificador = pipeline('sentiment-analysis', model = Nombre_modelo,device='cuda')
9
  #Res=Cla("sundays are good day for relaxing")
 
3
 
4
  #Nombre_modelo = 'pysentimiento/robertuito-sentiment-analysis'
5
 
6
+ st.title("Ejercicio interfaz transformers pipeline")
7
+
8
+ model_options = [
9
+ "facebook/bart-large-mnli",
10
+ "roberta-large-mnli",
11
+ "cross-encoder/nli-roberta-base"
12
+ ]
13
+ # Seleccionar el modelo del pipeline
14
+ selected_model = st.selectbox("Selecciona un modelo", model_options)
15
 
16
  #Clasificador = pipeline('sentiment-analysis', model = Nombre_modelo,device='cuda')
17
  #Res=Cla("sundays are good day for relaxing")