Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def print_issue(events):
|
|
| 21 |
samples = load_data()
|
| 22 |
col1, _ = st.columns([2, 4])
|
| 23 |
with col1:
|
| 24 |
-
index_example = st.number_input(f"Index of the chosen
|
| 25 |
|
| 26 |
st.write(f"Issue size: {samples[index_example]['text_size_bots']}\n\n")
|
| 27 |
print_issue(samples[index_example]["old_events"])
|
|
|
|
| 21 |
samples = load_data()
|
| 22 |
col1, _ = st.columns([2, 4])
|
| 23 |
with col1:
|
| 24 |
+
index_example = st.number_input(f"Index of the chosen conversation from the existing {len(samples)}", min_value=0, max_value=len(samples)-1, value=0, step=1)
|
| 25 |
|
| 26 |
st.write(f"Issue size: {samples[index_example]['text_size_bots']}\n\n")
|
| 27 |
print_issue(samples[index_example]["old_events"])
|