lagy commited on
Commit
9fe86ad
verified
1 Parent(s): 7d1dc26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,7 +51,7 @@ st.write(" ")
51
 
52
  pipe = pipeline('sentiment-analysis')
53
  text = st.text_area('Instrucci贸n')
54
- context = st.text_area('enter text')
55
 
56
 
57
 
@@ -60,9 +60,9 @@ tokenizer = AutoTokenizer.from_pretrained("lagy/carballo_finetuned")
60
  model.eval()
61
 
62
  if st.button('Generate'):
63
- st.write("--")
64
  out = pipe(text)
65
  #st.json(out)
66
- st.caption(context)
 
67
 
68
 
 
51
 
52
  pipe = pipeline('sentiment-analysis')
53
  text = st.text_area('Instrucci贸n')
54
+ context = st.text_area('Contexto')
55
 
56
 
57
 
 
60
  model.eval()
61
 
62
  if st.button('Generate'):
 
63
  out = pipe(text)
64
  #st.json(out)
65
+ output = generate(model,instruction,context)
66
+ st.caption(output)
67
 
68