BennoKrojer commited on
Commit
a1b8369
1 Parent(s): a0aec25
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -32,7 +32,8 @@ images = [prefix+'/'+img_set+'/'+i for i in set2ids[img_set]]
32
  img_urls = images.copy()
33
  index = int(col2.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
34
 
35
- col1.markdown(f'**Description**: \n{descr}')
 
36
 
37
  img = images[index]
38
  images[index] = ImageOps.expand(Image.open(io.BytesIO(requests.get(images[index], stream=True).content)),border=20,fill='blue')
@@ -49,4 +50,8 @@ st.markdown('#')
49
  st.markdown('#')
50
  st.markdown('#')
51
  st.markdown('#')
52
- st.markdown(f'**Groundtruth solution:{idx}**')
 
 
 
 
 
32
  img_urls = images.copy()
33
  index = int(col2.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
34
 
35
+ col1.markdown(f'**Description**:')
36
+ col1.markdown(descr)
37
 
38
  img = images[index]
39
  images[index] = ImageOps.expand(Image.open(io.BytesIO(requests.get(images[index], stream=True).content)),border=20,fill='blue')
 
50
  st.markdown('#')
51
  st.markdown('#')
52
  st.markdown('#')
53
+ st.markdown('#')
54
+ st.markdown('#')
55
+ st.markdown('#')
56
+ st.markdown('#')
57
+ st.markdown(f'**The correct target image index is: {idx}**')