nesticot commited on
Commit
9e4f54b
·
verified ·
1 Parent(s): c4bd1ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -697,7 +697,7 @@ def server(input, output, session):
697
  img = Image.open(BytesIO(response.content))
698
  ax_headshot.set_xlim(0, 1)
699
  ax_headshot.set_ylim(0, 1)
700
- ax_headshot.imshow(img, extent=[1/6, 5/6, 0, 1], origin='upper')
701
  except PIL.UnidentifiedImageError:
702
  ax_headshot.axis('off')
703
  #return
 
697
  img = Image.open(BytesIO(response.content))
698
  ax_headshot.set_xlim(0, 1)
699
  ax_headshot.set_ylim(0, 1)
700
+ ax_headshot.imshow(img, extent=[0, 1, 0, 1], origin='upper')
701
  except PIL.UnidentifiedImageError:
702
  ax_headshot.axis('off')
703
  #return