Update app.py
Browse files
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=[
|
| 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
|