Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ sent = st.text_area(label = "Input", value = default_value_gen, height = 10)
|
|
27 |
outputs = query(payload = sent, model_id = "mrm8488/t5-small-finetuned-quora-for-paraphrasing", api_token = api_token)
|
28 |
st.write("Paraphrased Example:")
|
29 |
try:
|
30 |
-
st.write(outputs[0]["generated_text"])
|
31 |
except:
|
32 |
st.write("Inference API loads model on demand, please wait for 10 secs and try again π€ ")
|
33 |
st.subheader("Multilingual Models using Translation Models ππΌ")
|
|
|
27 |
outputs = query(payload = sent, model_id = "mrm8488/t5-small-finetuned-quora-for-paraphrasing", api_token = api_token)
|
28 |
st.write("Paraphrased Example:")
|
29 |
try:
|
30 |
+
st.write(outputs[0]["generated_text"])
|
31 |
except:
|
32 |
st.write("Inference API loads model on demand, please wait for 10 secs and try again π€ ")
|
33 |
st.subheader("Multilingual Models using Translation Models ππΌ")
|