merve HF staff commited on
Commit
78bbf1d
·
1 Parent(s): 0720c0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ st.write("If you have very little amount of data, you could actually augment it
11
 
12
  generator = pipeline("text2text-generation", model = "mrm8488/t5-small-finetuned-quora-for-paraphrasing")
13
  default_value = "How to put out a grease fire?"
14
- sent = st.text_area("Input", default_value, height = 20)
15
  num_return_sequences = st.number_input('Number of Sequences to be Generated', min_value=1, max_value=5, value=1, step=1)
16
  outputs = generator(sent, num_return_sequences)
17
  st.write("Augmented Data:")
 
11
 
12
  generator = pipeline("text2text-generation", model = "mrm8488/t5-small-finetuned-quora-for-paraphrasing")
13
  default_value = "How to put out a grease fire?"
14
+ sent = st.text_area("Input", default_value, height = 10)
15
  num_return_sequences = st.number_input('Number of Sequences to be Generated', min_value=1, max_value=5, value=1, step=1)
16
  outputs = generator(sent, num_return_sequences)
17
  st.write("Augmented Data:")