MelisaRS commited on
Commit
cd24407
·
verified ·
1 Parent(s): e629181

add prompt_2

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -57,4 +57,19 @@ prompt = st.text_input("Escribe tu prompt", prompt_1)
57
  if st.button("Generar texto"):
58
  result = generator(prompt, max_length=400, num_return_sequences=1)
59
  st.write("Texto generado:")
60
- st.write(result[0]["generated_text"])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  if st.button("Generar texto"):
58
  result = generator(prompt, max_length=400, num_return_sequences=1)
59
  st.write("Texto generado:")
60
+ st.write(result[0]["generated_text"])
61
+
62
+
63
+ #exercise 2
64
+ prompt_2 = f"""
65
+ Perform the following actions:
66
+ 1 - From limited data from a scientific study, infer potential conclusions.
67
+ 2 - Suggest areas for future research.
68
+ 3 - Each conclusion should be in English as if explaining to a 10-year-old.
69
+
70
+ Separate your answers with line breaks.
71
+
72
+ Text:
73
+
74
+ ```{text}```
75
+ """