use BytesIO instead of StringIO
uri display after uploading