Commit
·
c34a396
1
Parent(s):
9d24307
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,6 @@ if text_input:
|
|
11 |
outputs = [pipe(line) for line in lines] # Process each line with the pipeline
|
12 |
|
13 |
for line, out in zip(lines, outputs): # Display original lines and their corresponding output
|
14 |
-
with st.
|
15 |
st.write(f"Text: {line}")
|
16 |
st.json(out)
|
|
|
11 |
outputs = [pipe(line) for line in lines] # Process each line with the pipeline
|
12 |
|
13 |
for line, out in zip(lines, outputs): # Display original lines and their corresponding output
|
14 |
+
with st.container(): # Using a container for each output
|
15 |
st.write(f"Text: {line}")
|
16 |
st.json(out)
|