pj2111 commited on
Commit
c99b4a3
·
1 Parent(s): 05605a4

added f string in progress bar

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. pages/1_Classification.py +1 -1
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
pages/1_Classification.py CHANGED
@@ -29,7 +29,7 @@ output = pipe(text,l1)
29
  st_output = dict(zip(output['labels'],output['scores']))
30
  for i,k in st_output.items():
31
  # st.write(f"{i}========{k}")
32
- st.progress(k, text = f"{i} _ {k}")
33
  ## --> Home Work -- 1. Understand concept of session_state ==== 2. Apply in zeroshot ==== 3. observe feseablity for bison
34
  ## --> Home Work -- Use logging
35
  ## --> add editable df -
 
29
  st_output = dict(zip(output['labels'],output['scores']))
30
  for i,k in st_output.items():
31
  # st.write(f"{i}========{k}")
32
+ st.progress(k, text = f"{i:_<40} {k}")
33
  ## --> Home Work -- 1. Understand concept of session_state ==== 2. Apply in zeroshot ==== 3. observe feseablity for bison
34
  ## --> Home Work -- Use logging
35
  ## --> add editable df -