Update app.py
Browse files
app.py
CHANGED
|
@@ -31,10 +31,10 @@ generation_args = {
|
|
| 31 |
"do_sample": False,
|
| 32 |
}
|
| 33 |
|
| 34 |
-
st.write("calculating")
|
| 35 |
|
| 36 |
-
|
| 37 |
|
| 38 |
if text:
|
| 39 |
-
|
|
|
|
| 40 |
st.write(out)
|
|
|
|
| 31 |
"do_sample": False,
|
| 32 |
}
|
| 33 |
|
|
|
|
| 34 |
|
| 35 |
+
|
| 36 |
|
| 37 |
if text:
|
| 38 |
+
st.write("calculating")
|
| 39 |
+
out = pipe(messages, **generation_args)
|
| 40 |
st.write(out)
|