Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ context_len = len(contexted_ipnut)
|
|
| 17 |
|
| 18 |
if user_input:
|
| 19 |
with st.spinner('Generating response...'):
|
| 20 |
-
response = pipe(contexted_ipnut
|
| 21 |
generated_text = response[0]['generated_text'][context_len:]
|
| 22 |
st.write("Generated Text:")
|
| 23 |
st.text(generated_text)
|
|
|
|
| 17 |
|
| 18 |
if user_input:
|
| 19 |
with st.spinner('Generating response...'):
|
| 20 |
+
response = pipe(contexted_ipnut)
|
| 21 |
generated_text = response[0]['generated_text'][context_len:]
|
| 22 |
st.write("Generated Text:")
|
| 23 |
st.text(generated_text)
|