Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ 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 = 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:")
|
18 |
for output in outputs[0]:
|
|
|
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 |
num_return_sequences = st.number_input('Number of Sequences to be Generated', min_value=1, max_value=5, value=1, step=1)
|
15 |
+
sent = st.text_area("Input", default_value, height = 10)
|
16 |
outputs = generator(sent, num_return_sequences)
|
17 |
st.write("Augmented Data:")
|
18 |
for output in outputs[0]:
|