Spaces:
Running
Running
app.py
Browse files
app.py
CHANGED
@@ -32,4 +32,4 @@ if text:
|
|
32 |
response = pipe(f"Answer the question: {text}", max_length=150, num_return_sequences=1)
|
33 |
|
34 |
# Display the generated response
|
35 |
-
st.
|
|
|
32 |
response = pipe(f"Answer the question: {text}", max_length=150, num_return_sequences=1)
|
33 |
|
34 |
# Display the generated response
|
35 |
+
st.text(f"Answer: {response[0]['generated_text']}")
|