Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ if text:
|
|
85 |
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
86 |
|
87 |
|
88 |
-
st.text(outputs)
|
89 |
|
90 |
|
91 |
st.text(st.session_state.history)
|
|
|
85 |
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
86 |
|
87 |
|
88 |
+
st.text(outputs[0]['generated_text'])
|
89 |
|
90 |
|
91 |
st.text(st.session_state.history)
|